Skip to content

Docs: useCodeCache: true for SEA blob preparation leads to 'broken' executables when creating cross platform SEAs. #52420

Description

@mn4367

Currently useCodeCache has to be set to false if one wants to create a SEA on platform A for platform B. Otherwise the generated executable will crash on startup.

The original problem and the solution are described in more detail here (postject project).

It might be worth noting this in the documentation for the generation of single executable preparation blobs (sub chapter V8 code cache support) since it isn't obvious. Maybe something similar is also true for useSnapshot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.single-executableIssues and PRs related to single-executable applications.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions