问题在angular-seed项目上启动npm install

时间:2016-03-21 09:38:45

标签: angularjs node.js git npm angular-seed

我正在尝试在克隆的angular-seed scheleton上启动'npm install',但它返回了一些错误:

C:\Users\Utente\Desktop\Folder\project\node_modules\bufferutil>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 )
    gyp ERR! configure error
    gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
    gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:401:14)
    gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:356:11
    gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
    gyp ERR! System Windows_NT 10.0.10586
    gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
    gyp ERR! cwd C:\Users\Utente\Desktop\Folder\project\node_modules\bufferutil
    gyp ERR! node -v v5.9.0
    gyp ERR! node-gyp -v v3.2.1
    gyp ERR! not ok
    npm WARN install:bufferutil@1.2.1 bufferutil@1.2.1 install: `node-gyp rebuild`
    npm WARN install:bufferutil@1.2.1 Exit status 1

任何人都知道如何解决它?我正在使用Windows 10 x64系统。 提前谢谢..

0 个答案:

没有答案