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-gyp@3.3.1 installed with node.js, but later version (3.4.0) required to fix bug nodejs/node-gyp#949 #7513

Closed
ipurdy opened this issue Jul 1, 2016 · 2 comments
Labels
addons Issues and PRs related to native addons. question Issues that look for answers.

Comments

@ipurdy
Copy link

ipurdy commented Jul 1, 2016

Version: v4.4.7
Platform: Windows 10 (64-bit)

After installing node.js, I cd to nodejs\node_modules\npm and "npm list --depth=0", this returns among others "── node-gyp@3.3.1". I really need to use the later 3.4.0 version. I've tried installing the later version manually using "npm install node-gyp" and "npm install -g node-gyp", but when I then "npm install java" it uses the 3.3.1 version and fails due to issue "nodejs/node-gyp#949". Is there a way to update the version of node-gyp stored in "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp", or use the version installed in another folder?

@mscdex mscdex added question Issues that look for answers. addons Issues and PRs related to native addons. labels Jul 1, 2016
@bnoordhuis
Copy link
Member

Try npm install -g npm@next - npm uses the bundled copy of node-gyp (assuming the module to install doesn't override that, which node-java does not.) npm@next comes with node-gyp@3.4.0.

If it still doesn't work, try specifying the full path to the npm script, i.e., C:\path\to\wherever\npm.cmd install java.

Can you post support questions to https://github.com/nodejs/help/issues next time? nodejs/node is a pretty high volume bug tracker and we try to keep it focused on core issues. Cheers.

@ipurdy
Copy link
Author

ipurdy commented Aug 2, 2016

That worked. Many thanks for your help.

Cheers,
Ian

Ian Purdy
Managing Director
Crossvale Europe Limited http://www.crossvale.com/
Mobile: +44 7918 112233
Office: +44 114 352 0047 (UK) or *+1-972-714-0140 (US)*
Conference bridge:* +44 117 205 0038 (UK) or *+1-469-513-7634 (US)

http://www.crossvale.com/

On Sat, Jul 2, 2016 at 2:31 AM, Ben Noordhuis notifications@github.com
wrote:

Closed #7513 #7513.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#7513 (comment), or mute the
thread
https://github.com/notifications/unsubscribe/ATDrSi3dUejx-YmFRUYq43dEYFzoF0INks5qRiHKgaJpZM4JDf1-
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addons Issues and PRs related to native addons. question Issues that look for answers.
Projects
None yet
Development

No branches or pull requests

3 participants