-
Notifications
You must be signed in to change notification settings - Fork 58
Crest API installation Issue #8
Description
Please find the error below
C:\node_modules>npm install crest
bson@0.1.8 install C:\node_modules\crest\node_modules\mongodb\node_modules\bso
n
(node-gyp rebuild 2> builderror.log) || (exit 0)
C:\node_modules\crest\node_modules\mongodb\node_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 )
dtrace-provider@0.2.8 install C:\node_modules\crest\node_modules\restify\node_
modules\dtrace-provider
node-gyp rebuild
C:\node_modules\crest\node_modules\restify\node_modules\dtrace-provider>if not d
efined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\n
ode-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node
rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 6.1.7600
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:\node_modules\crest\node_modules\restify\node_modules\dtrace-prov
ider
gyp ERR! node -v v4.3.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing dtrace-provider@0.2.8
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js" "install" "crest"
npm ERR! node v4.3.1
npm ERR! npm v2.14.12
npm ERR! path C:\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:\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! C:\node_modules\npm-debug.log