dimanche 19 avril 2015

nodejs' ldapauth module install failure

I have a nodejs application running on windows7 64bit. Now I want to install the ldapauth (http://ift.tt/1O5mjzZ) but when I do I get the following error during install. Please help!



C:\Programs\nodejsCloudant++>npm install ldapauth
npm WARN package.json make@0.0.0 No repository field.

> bcrypt@0.7.5 install C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\bcrypt
> node-gyp rebuild

/C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\bcrypt>if not defined npm_config_node_gyp (node "C:\Programs\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: Command failed: CreateProcessW: The system cannot find the path specified.
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:548:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at maybeClose (child_process.js:646:16)
gyp ERR! stack at Socket.ChildProcess.spawn.stdin (child_process.js:823:11)
gyp ERR! stack at Socket.EventEmitter.emit (events.js:96:17)
gyp ERR! stack at Socket._destroy.destroyed (net.js:358:10)
gyp ERR! stack at process.startup.processNextTick.process._tickCallback (node.js:245:9)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Programs\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\bcrypt
gyp ERR! node -v v0.8.25
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok-
> buffertools@1.1.0 install C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\ldapjs\node_modules\buffertools
> node-gyp rebuild


C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\ldapjs\node_modules\buffertools>if not defined npm_config_node_gyp (node"C:\Programs\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: Command failed: CreateProcessW: The system cannot find the path specified.
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:548:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at maybeClose (child_process.js:646:16)
gyp ERR! stack at Socket.ChildProcess.spawn.stdin (child_process.js:823:11)
gyp ERR! stack at Socket.EventEmitter.emit (events.js:96:17)
gyp ERR! stack at Socket._destroy.destroyed (net.js:358:10)
gyp ERR! stack at process.startup.processNextTick.process._tickCallback (node.js:245:9)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Programs\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\ldapjs\node_modules\buffertools
gyp ERR! node -v v0.8.25
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
|
> dtrace-provider@0.2.8 install C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\ldapjs\node_modules\dtrace-provider
> node-gyp rebuild

/C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\ldapjs\node_modules\dtrace-provider>if not defined npm_config_node_gyp (node "C:\Programs\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: Command failed: CreateProcessW: The system cannot find the path specified.
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:548:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at maybeClose (child_process.js:646:16)
gyp ERR! stack at Socket.ChildProcess.spawn.stdin (child_process.js:823:11)
gyp ERR! stack at Socket.EventEmitter.emit (events.js:96:17)
gyp ERR! stack at Socket._destroy.destroyed (net.js:358:10)
gyp ERR! stack at process.startup.processNextTick.process._tickCallback (node.js:245:9)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Programs\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Programs\nodejsCloudant++\node_modules\ldapauth\node_modules\ldapjs\node_modules\dtrace-provider
gyp ERR! node -v v0.8.25
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Programs\\nodejs\\\\node.exe" "C:\\Programs\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "ldapauth"
npm ERR! node v0.8.25
npm ERR! npm v2.7.1
npm ERR! code ELIFECYCLE

npm ERR! bcrypt@0.7.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.5 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Programs\nodejsCloudant++\npm-debug.log


Here are the dependencies


and here are the versions



C:\Programs\nodejsCloudant++>python -V
Python 2.7.9

C:\Programs\nodejsCloudant++>node -v
v0.8.25

C:\Programs\nodejsCloudant++>npm -v
2.7.1

Aucun commentaire:

Enregistrer un commentaire