npm-installer: Crash on macOS during start
After upgrading to 0.22.0-sdk nw is crashing on start on macOS Sierra 10.12.4, showing the following dialog:
Here is what I have in the console:
npm install -g nw@0.22.0-sdk
/usr/local/bin/nw -> /usr/local/lib/node_modules/nw/bin/nw
> nw@0.22.0-sdk postinstall /usr/local/lib/node_modules/nw
> node scripts/install.js
/usr/local/lib
└── nw@0.22.0-sdk
nw --version
dlopen /usr/local/lib/node_modules/nw/nwjs/nwjs.app/Contents/MacOS/../Versions/58.0.3029.81/nwjs Framework.framework/nwjs Framework: dlopen(/usr/local/lib/node_modules/nw/nwjs/nwjs.app/Contents/MacOS/../Versions/58.0.3029.81/nwjs Framework.framework/nwjs Framework, 257): no suitable image found. Did find:
/usr/local/lib/node_modules/nw/nwjs/nwjs.app/Contents/MacOS/../Versions/58.0.3029.81/nwjs Framework.framework/nwjs Framework: file too short
/usr/local/lib/node_modules/nw/nwjs/nwjs.app/Contents/Versions/58.0.3029.81/nwjs Framework.framework/nwjs Framework: file too short
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 11
- Comments: 18 (5 by maintainers)
Links to this issue
Commits related to this issue
- Update nw dependency to work on OSX see https://github.com/nwjs/npm-installer/issues/56 — committed to pmelisko/pro-xy-ui by pmelisko 9 years ago
Still encountering this in
"nw": "0.23.5-sdk":Can someone please approve @nurishi’s PR?
This is due to dependent download library issue not respecting symlinks which is already solved on their end. I have created a PR(#58) to simply update it. Hope it works!
@funwithtriangles Click the reaction button instead of writing +1 so you don’t send me a noisy pointless notification, thanks!
Thanks for reminding me. A fix is published in v0.23.6-1 (and in v0.23.6-sdk-1) and now I need a macOS user to confirm or deny the results.
Wanted to update my nwjs CLI to pull the latest version of
nwbut doing so lead to this error when attempting to run the appHave to downgrade back to
0.20.1to make it work. Can someone please approve @nurishi’s PR to get this sorted?+1
also experiencing this. Anyone have a workaround?
I’m also getting this issue after upgrading to 0.22.0. NW.js apps will not run.
I think it probably has something to do with switch to symbolic links instead of actual content in 0.22. I’ve added a bit more details about dir structure change in https://github.com/evshiron/nwjs-builder-phoenix/issues/30