help icon indicating copy to clipboard operation
help copied to clipboard

Can't read and write to target executable

Open Drjacky opened this issue 1 year ago • 6 comments

Node.js Version

v21.6.2

NPM Version

10.8.1

Operating System

macOS

Subsystem

Other

Description

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:

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

Related to: https://github.com/nodejs/help/issues/4313#issuecomment-2154980165

Minimal Reproduction

No response

Output

No response

Before You Submit

  • [X] I have looked for issues that already exist before submitting this
  • [X] My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask

Drjacky avatar Jun 07 '24 16:06 Drjacky