Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
TheHellTower opened this issue Jun 28, 2024 · 6 comments
Open
2 tasks done
Labels

Comments

@TheHellTower
Copy link

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

  • I have looked for issues that already exist before submitting this
  • 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
@RedYetiDev
Copy link
Member

RedYetiDev commented Jun 28, 2024

@nodejs/single-executable PTAL

@RedYetiDev
Copy link
Member

Possible duplicate of #4416.

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

@TheHellTower
Copy link
Author

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
Copy link
Member

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

@TheHellTower
Copy link
Author

@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
Copy link
Member

RedYetiDev commented Jul 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants