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

node-pre-gyp broken on node v8 / windows #302

Open
springmeyer opened this issue Jun 11, 2017 · 3 comments
Open

node-pre-gyp broken on node v8 / windows #302

springmeyer opened this issue Jun 11, 2017 · 3 comments

Comments

@springmeyer
Copy link
Contributor

When testing node-pre-gyp on appveyor with node v8 (v8.0.0 specifically gets pulled in and npm 5.0.0), things are terribly broken. Not really dug much yet, but looks related to npm install not working:

     Error: Cannot find module 'nopt'
          at Function.Module._resolveFilename (module.js:485:15)
          at Function.Module._load (module.js:437:25)
          at Module.require (module.js:513:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (C:\projects\node-pre-gyp\lib\node-pre-gyp.js:14:12)
          at Module._compile (module.js:569:30)
          at Object.Module._extensions..js (module.js:580:10)
          at Module.load (module.js:503:32)
          at tryModuleLoad (module.js:466:12)
          at Function.Module._load (module.js:458:3)
@springmeyer
Copy link
Contributor Author

Could also be an appveyor oddity: appveyor reports Installing node 8.1.0 (x64)... but then next reports:

node --version
v8.0.0
npm --version
5.0.0

That seems off /cc @FeodorFitsner

Refs https://ci.appveyor.com/project/Mapbox/node-pre-gyp/build/1.0.581/job/933655r0ad6ehjrn#L7

@springmeyer
Copy link
Contributor Author

Found this can be worked around by downgrading npm to 2.x

This was referenced Jun 11, 2017
@FeodorFitsner
Copy link

Oh, good catch with 8.1.0 package, thanks! It should be fixed now.

springmeyer pushed a commit that referenced this issue Sep 7, 2017
springmeyer pushed a commit that referenced this issue Sep 7, 2017
hyj1991 pushed a commit to X-Profiler/node-pre-gyp that referenced this issue Jun 16, 2023
hyj1991 pushed a commit to X-Profiler/node-pre-gyp that referenced this issue Jun 16, 2023
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

2 participants