Missing binary when installing nwjs using pnpm
Closed this issue · 2 comments
thisjt commented
Issue Type
(Issue moved from nwjs/nw.js#8193)
- Bug Report
- Successfully reproduced against the latest version of NW.js?
Current/Missing Behavior
When we install the sdk version of nw and then run it through the console, we are getting an error of missing binary instead of launching the application normally.
Expected/Proposed Behavior
Nw runs normally and has no issues.
Additional Info
It seems that it is still attempting to run the regular nwjs production version instead of the sdk one even though in the postinstall script it downloaded and extracted the sdk one.
Workaround for this one is to rename nwjs-sdk-v0.88.0-win-x64
to nwjs-v0.88.0-3-win-x64
so that the sdk binary is run.
- Operating System: Windows 10
- NW.js Version: 0.88.0-3-sdk
- Repro Link: https://github.com/thisjt/nwjs-sdk-pnpm-issue
- Code snippet:
N/A
- Crash report:
N/A
ayushmanchhabra commented
@thisjt Please try v0.88.0-4. If you face the same issue, please ping here and I'll reopen it.
thisjt commented
@ayushmanchhabra all good. It's now working on my end. Thanks for the fast fix!