Missing binary when installing nwjs using pnpm
thisjt opened this issue · 1 comments
Issue Type
Before opening an issue, please search and see if it has already been raised.
-
Bug Report
-
Feature Request
-
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
https://github.com/nwjs/npm-installer
@thisjt Could you open this in this repo instead? Meanwhile I'll look into this.