nwjs/nw.js

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.

image

image

image

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.

https://github.com/nwjs/npm-installer
@thisjt Could you open this in this repo instead? Meanwhile I'll look into this.