Node.js 节点问题使用cygwin安装Sails包

Node.js 节点问题使用cygwin安装Sails包,node.js,cygwin,sails.js,Node.js,Cygwin,Sails.js,我正在尝试在全球范围内安装一个包,我最近更新了node.js安装,以前在node 0.10中没有遇到过这个问题 $ npm install sails -g | > sails@0.11.0 preinstall C:\Users\Vado\AppData\Roaming\npm\node_modules\sails > node ./lib/preinstall_npmcheck.js 'node' n'est pas reconnu en tant que commande i

我正在尝试在全球范围内安装一个包,我最近更新了node.js安装,以前在node 0.10中没有遇到过这个问题

$ npm install sails -g
|
> sails@0.11.0 preinstall C:\Users\Vado\AppData\Roaming\npm\node_modules\sails
> node ./lib/preinstall_npmcheck.js

'node' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "D:\\Logiciels installés\\nodejs\\node.exe" "D:\\Logiciels install
és\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "sails" "-g"
npm ERR! node v0.12.3
npm ERR! npm  v2.9.1
npm ERR! code ELIFECYCLE

npm ERR! sails@0.11.0 preinstall: `node ./lib/preinstall_npmcheck.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sails@0.11.0 preinstall script 'node ./lib/preinstall_npm
check.js'.
npm ERR! This is most likely a problem with the sails package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./lib/preinstall_npmcheck.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls sails
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\cygwin64\home\Vado\npm-debug.log
奇怪的是,如果我尝试在全球范围内安装
lodash
,它确实可以工作

$ node --version
v0.12.3
请注意,这仅在cygwin控制台中发生,如果我使用windows shell,它可以正常工作

知道问题出在哪里以及如何解决吗?我肯定可以从任何shell(cygwin/windows)运行
节点
,所以我无法获得它


我怀疑它是否有用,但下面是npm-debug.log:

您是否能够安装sails我当时能够安装sails 0.10是的,但现在我不能再安装sails 0.11了。我也可能是因为我已经将node从0.10升级到了0.12,我不得不使用我的windowsshell来实现这一点,虽然很无聊,但还没有找到更好的解决方案。它发生在许多其他模块中,所以我猜它与节点有关。