nexe: _third_party_main.js:12 throw 'Invalid Nexe binary' ^ Invalid Nexe binary
This is a
- Bug Report
- Feature Request
- Other
If this is a bug report, What are the steps to reproduce?
nexe index.js -o executeableFile --build --empty
//when compiler is done
executeableFile.exe
When I’m trying to run executeableFile.exe then I get a error:
C:\Users\Chinafreak\Documents\example>executeableFile.exe
_third_party_main.js:12
throw 'Invalid Nexe binary'
^
Invalid Nexe binary
Please also provide:
- Platform(OS/Version): Windows 10
- Host Node Version: v7.9.0
- Target Node Version: v7.9.0
- Nexe version: 2.0.0-rc.2
- Python Version: 2.7.13
I’m abled to execute “node index.js”
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 25 (12 by maintainers)
Commits related to this issue
- More flexiable nexe footer search range to fix digital sign binary launch issue Fix #372 — committed to foxever/nexe by foxever 5 years ago
- More flexiable nexe footer search range to fix digital sign binary launch issue Fix #372 — committed to nexe/nexe by foxever 5 years ago
- More flexiable nexe footer search range to fix digital sign binary launch issue Fix #372 — committed to uzdry/nexe by foxever 5 years ago
I run into the same issue after using signtool on Windows. This is the patch I created locally, currently it runs on the nexe dir after
npm install, and I’m patchingboot-nexe.jsandthird-party-main.js. Two questions:--buildso far as we compiled our source with nexe, as the extra 25min of the node build is excessive for us daily. How can I prebuild nexe as the fetched package when no--buildoption is used? I do not want to keep around the entire node build, the directory is ~18Gb after building.Many thanks for answers.
Wow I never saw this comment on this issue. Great Find @tamasszarka.
Thanks for the PR @foxever
I ran into the same issue on windows when digital signing a nexe binary @tamasszarka’s patch works for me, FYI.
Fixed in
@latestand@beta