Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation error on windows #14

Open
the-simian opened this issue Jan 29, 2016 · 3 comments
Open

installation error on windows #14

the-simian opened this issue Jan 29, 2016 · 3 comments

Comments

@the-simian
Copy link

a bunch of postinstall scripts seem to currently fail for me, using node v 5.5.0 and npm v 3.3.12 on Windows.

npm ERR! node v5.5.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `npm install --prefix ./nw-screenshot`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'npm install --prefix ./nw-screenshot'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-webkit-screenshot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install --prefix ./nw-screenshot
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-webkit-screenshot
npm ERR! There is likely additional logging output above.
npm ERR! node v5.5.0
npm ERR! npm  v3.3.12

npm ERR! Callback called more than once.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

I will add that the first error occurs multiple times, and the module appears to be attempting to install http://dl.node-webkit.org/v0.11.6/node-webkit-v0.11.6-win-x64.zip repeatedly. I saw it attempt install 4 times before exiting with status -4058
if this is probably on my end, lmk. Thanks for this module!

@the-simian
Copy link
Author

it appears that the "postinstall": "npm install --prefix ./nw-screenshot", is getting heavily tripped up by the latest npm version. This might be related to npm3's nodeterministic approach to install that is a change from npm 2.

the script does not see a node modules where it is expected and keeps traveling up the folders and reinstalling over and over. That's how it looks at least.

@the-simian
Copy link
Author

To be clear... The script will install, recursively forever and ever. take a look:
overandover
he

@the-simian
Copy link
Author

I am experiencing a similar issue in another module that is similar to yours, FYI: davidmarkclements/nw-shot#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant