nodejs / help

:sparkles: Need help with Node.js? File an Issue here. :rocket:
1.44k stars 276 forks source link

Single executable applications | Error: Couldn't write executable #4431

Open TheHellTower opened 4 days ago

TheHellTower commented 4 days ago

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

RedYetiDev commented 3 days ago

@nodejs/single-executable PTAL

RedYetiDev commented 3 days ago

Possible duplicate of #4416.

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

TheHellTower commented 1 day ago

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 ?

RedYetiDev commented 1 day ago

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

TheHellTower commented 1 day ago

@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 !

RedYetiDev commented 1 day ago

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