Skip to content

Could not find the sentinel NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 in the binary #4313

Closed

Description

@Drjacky

Details

I followed these steps https://nodejs.org/api/single-executable-applications.html
When I run

npx postject hello NODE_SEA_BLOB sea-prep.blob \
    --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 \
    --macho-segment-name NODE_SEA 

I get:

Error: Could not find the sentinel NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 in the binary

Node.js version

21.3.0

Example code

No response

Operating system

macOS

Scope

Compile time

Module and version

Not applicable.

Activity

  1. preveen-stack commented on Dec 15, 2023

    @preveen-stack
    Contributor

    cc @RaisinTen can you advise

  2. YunusCorum commented on Jan 24, 2024

    @YunusCorum

    why nobody doesn't care about the issue ?

  3. Drjacky commented on Jan 25, 2024

    @Drjacky
    Author

    @preveen-stack @YunusCorum I used this archived https://github.com/vercel/pkg project and it worked.

  4. chengB12 commented on Jan 30, 2024

    @chengB12

    My issue is "Error: Multiple occurences of sentinel "NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2" found in the binary"

    for macos and node v20.10.0 (and v20.11.0 LTS too)

  5. yisar commented on Feb 18, 2024

    @yisar

    node v21 still keep this error

  6. denzelios commented on Feb 22, 2024

    @denzelios

    still get this too v20.11.0

  7. HxShard commented on Mar 10, 2024

    @HxShard

    stuck with this running v20.11.0 on darwin, eventually switched to v20.0.0 (https://nodejs.org/dist/v20.0.0/node-v20.0.0-darwin-x64.tar.gz and https://nodejs.org/dist/v20.0.0/node-v20.0.0-darwin-arm64.tar.gz) and it seems to be working.

  8. HxShard commented on Mar 10, 2024

    @HxShard

    probably it wasn't quite right because I obtained that node's binary from a ".pkg"-distributed version
    UPD: sure, you still have to use most modern node version (since postject won't work otherwise), but fetch it as tar.gzarchive

  9. nokazn commented on Apr 23, 2024

    @nokazn

    when I use moonrepo/proto to install node, I needed to run

    cp $(proto bin node) hello

    instead of

    cp $(command -v node) hello

    to copy a plain Node.js binary not a shim in step 4 of the guide.

    Related: volta-cli/volta#1594

  10. ratatoeskr666 commented on Jun 6, 2024

    @ratatoeskr666

    My issue is "Error: Multiple occurences of sentinel "NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2" found in the binary"

    for macos and node v20.10.0 (and v20.11.0 LTS too)

    Same issue for me. It worked a couple of times but now I get this error. (Node 20.14.0)

  11. avivkeller commented on Jun 6, 2024

    @avivkeller
    Member

    The original author of this issue seems to have resolved their problem, if you are still experiencing an issue, I invite you to open a new issue.

    Thank you!

  12. Drjacky commented on Jun 7, 2024

    @Drjacky
    Author

    The original author of this issue seems to have resolved their problem, if you are still experiencing an issue, I invite you to open a new issue.

    Thank you!

    Yup, that error is gone but still, it doesn't work:

    Start injection of NODE_SEA_BLOB in hello...
    Error: Can't read and write to target executable

  13. avivkeller commented on Jun 7, 2024

    @avivkeller
    Member

    If you are experiencing a different issue, please open a new issue, as that makes tracking easier.

    Thank you!

  14. evaporei commented on May 4, 2026

    @evaporei

    I'm experiencing this issue in Node 25.9.0

    index.js

    console.log('test')

    sea-config.json

    {
        "main": "index.js",
        "output": "sea"
    }

    Output:

    $ node --build-sea sea-config.json
    Error: sentinel NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 not found

    I'm in MacOS 15.7.1 (Sequoia) M3 Pro, with Node.js installed directly via Homebrew.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions