-
Notifications
You must be signed in to change notification settings - Fork 58
Install failed #7
Comments
Hi Kevin, I am also facing some issues see if you can help me C:\node_modules>npm install crest
C:\node_modules\crest\node_modules\mongodb\node_modules\bson>if not defined npm_
C:\node_modules\crest\node_modules\restify\node_modules\dtrace-provider>if not d npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\node_modules\crest npm ERR! Please include the following file with any support request: |
Sorry I wished I could. But, I seem to have a different Python problem. The common thread is Python. It seems very dependent on the Python configuration. Kevin
|
Before you execute npm install -g, change in the file package.json: Regards! |
I try to install and I get the below error(s):
H:\crest>npm install crest -g
C:\Users\KBurton\AppData\Roaming\npm\node_modules\crest\node_modules\restify\nod
e_modules\dtrace-provider>if not defined npm_config_node_gyp (node "C:\Program F
iles\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\n
ode-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Python executable "python" is v2.4.2, which is not support
ed by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & <
3.0.0.
gyp ERR! stack at failPythonVersion (C:\Program Files\nodejs\node_modules\np
m\node_modules\node-gyp\lib\configure.js:121:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:110:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:194:7)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at maybeClose (internal/child_process.js:818:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:211:5)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\KBurton\AppData\Roaming\npm\node_modules\crest\node_module
s\restify\node_modules\dtrace-provider
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
C:\Users\KBurton\AppData\Roaming\npm\node_modules\crest\node_modules\mongodb\nod
e_modules\bson>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs
\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js"
rebuild ) else (node rebuild )
npm WARN optional dep failed, continuing [email protected]
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js" "install" "crest" "-g"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! path C:\Users\KBurton\AppData\Roaming\npm\node_modules\crest\bin\server
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\KBurton\AppDa
ta\Roaming\npm\node_modules\crest\bin\server'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! H:\crest\npm-debug.log
One of the first errors is that the Python version needs to be updated. Is this a dependency?
Kevin
The text was updated successfully, but these errors were encountered: