node-gyp installation failures

Created on 19 May 2018  路  3Comments  路  Source: nodejs/node-gyp

  • Node Version:

node v8.11.2
npm v6.0.1

  • Platform:

Windows

  • Compiler:
  • Module:

Verbose output (from npm or node-gyp):

I have tried to install node-gyp from npm.

I have python 2.7 installed

I have changed the npm config setting to point to the right version of python

i followed the option2 instructions and I have GTK running correctly.

I enter the next command: node-gyp rebuild --GTK_Root=C:\Users\davidlop\Documents\Software\GTK

and all I get is: bash: node-gyp: command not found

I have tried every fix, I have uninstalled and reinstalled node npm.

I have followed the instructions to the letter. Can we be provided with a more effective set of instructions?

How do I install this I am trying to work with node canvas and node-gyp is required... What am I doing wrong?

I lost track of the log and where it is. Once I get some progress and a new log I will post.

All 3 comments

Also I added my $PATH/users/AppData/Roaming/npm directory to my PATH. The error I get is:

Error: Cannot find module 'C:\Program Files\Git\node_modules\node-gyp\bin\node-gyp.js'

Did you try npm install node-gyp ?

yes that is the first command described under the verbose section.

I ended up using another library that doesn鈥檛 require this. Thanks anyway.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zghbyslzf picture zghbyslzf  路  3Comments

Flimm picture Flimm  路  3Comments

jplatte picture jplatte  路  3Comments

worc picture worc  路  4Comments

gengjiawen picture gengjiawen  路  3Comments