help icon indicating copy to clipboard operation
help copied to clipboard

Single executable applications | Error: Couldn't write executable

Open TheHellTower opened this issue 1 year ago • 6 comments

Node.js Version

22.3.0

NPM Version

10.5.0

Operating System

Windows 10

Subsystem

Other

Description

Hello,

My issue is the following:

https://nodejs.org/api/single-executable-applications.html for the step 6 I tried the command npx postject node.exe NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 but got the following output:

When the signature not removed

Start injection of NODE_SEA_BLOB in node.exe...
warning: The signature seems corrupted!
Error: Couldn't write executable

When the signature is removed:

Start injection of NODE_SEA_BLOB in node.exe...
Error: Couldn't write executable

Do you have any idea what I could've had gone wrong ?

Best Regards.

Minimal Reproduction

Just need to follow the steps on the official documentation I did nothing aside following the documentatiion.

Output

npx postject node.exe NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2

Start injection of NODE_SEA_BLOB in node.exe... warning: The signature seems corrupted! Error: Couldn't write executable

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

TheHellTower avatar Jun 28 '24 16:06 TheHellTower

@nodejs/single-executable PTAL

avivkeller avatar Jun 28 '24 23:06 avivkeller

Possible duplicate of #4416.

Remember to peruse the issue tracker for issues before submitting a new one.

avivkeller avatar Jun 28 '24 23:06 avivkeller

Possible duplicate of #4416.

Remember to peruse the issue tracker for issues before submitting a new one.

Sorry GitHub didn't show me this issue when I used the error to search for issues.. Also could you tell me what does "@nodejs/single-executable PTAL" mean ?

TheHellTower avatar Jul 01 '24 18:07 TheHellTower

@nodejs/single-executable pings the team with the most knowledge about single executable, and PTAL means "Please Take A Look".

avivkeller avatar Jul 01 '24 18:07 avivkeller

@nodejs/single-executable pings the team with the most knowledge about single executable, and PTAL means "Please Take A Look".

I think there is an issue it senti t as simple text haha unless they get a notification with a bot or something.. But thanks for the explanation !

TheHellTower avatar Jul 01 '24 18:07 TheHellTower

I think there is an issue it senti t as simple text haha

It's sent as plaintext to you, but to members of the organization, it is a ping.

image

avivkeller avatar Jul 01 '24 18:07 avivkeller

It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.

github-actions[bot] avatar Dec 31 '24 01:12 github-actions[bot]

It seems there has been no activity on this issue for a while, and it is being closed. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.

github-actions[bot] avatar Jan 31 '25 01:01 github-actions[bot]