nwjs/npm-installer

Missing binary when installing nwjs using pnpm

Closed this issue · 2 comments

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.

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.

@thisjt Please try v0.88.0-4. If you face the same issue, please ping here and I'll reopen it.

@ayushmanchhabra all good. It's now working on my end. Thanks for the fast fix!

image