2015-02-09 65 views
3

两者都产生相同的错误。npm install -g发生器-Windows中的X错误

  • npm install -g generator-angular-fullstack。
  • npm install -g generator-meanjs。

我想寄托都(谷歌搜索和计算器),但这个问题是从过去的3-4个小时抓我的头 任何支持将是有益的

我试图

npm install -g generator-angular-fullstack 

npm install -g generator-meanjs 

最初它说python需要我安装最新的python,但它又说它不兼容le版本我搜索和发现2.7.3被支持,所以我卸载最新版本并安装2.7.3并设置它的环境变量。

但现在它显示在CMD

gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1 

完全错误堆栈: -

gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1 
gyp ERR! stack  at ChildProcess.onCpExit (C:\Program Files\nodejs\node_module 
s\npm\node_modules\node-gyp\lib\configure.js:343:16) 
gyp ERR! stack  at ChildProcess.emit (events.js:98:17) 
gyp ERR! stack  at Process.ChildProcess._handle.onexit (child_process.js:810: 
12) 
gyp ERR! System Windows_NT 6.1.7601 
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu 
les\\node-gyp\\bin\\node-gyp.js" "configure" "build" 
gyp ERR! cwd C:\Users\Rachit\AppData\Roaming\npm\node_modules\generator-angular- 
fullstack\node_modules\yeoman-generator\node_modules\download\node_modules\decom 
press\node_modules\decompress-unzip\node_modules\adm-zip\node_modules\fidonet-ma 
iler-binkp-crypt 
gyp ERR! node -v v0.10.30 
gyp ERR! node-gyp -v v0.13.1 
gyp ERR! not ok 
| 
> [email protected] postinstall C:\Users\Rachit\AppData\Roaming\npm\node_modules\generato 
r-angular-fullstack\node_modules\yo 
> yodoctor 


Yeoman Doctor 
Running sanity checks on your system 

√ Global configuration file is valid 
√ NODE_PATH matches the npm root 
√ No .bowerrc file in home directory 
√ No .yo-rc.json file in home directory 

Everything looks all right! 
npm ERR! [email protected] install: `node-gyp configure build` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script. 
npm ERR! This is most likely a problem with the fidonet-mailer-binkp-crypt packa 
ge, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node-gyp configure build 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls fidonet-mailer-binkp-crypt 
npm ERR! There is likely additional logging output above. 

npm ERR! System Windows_NT 6.1.7601 
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod 
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "generator-angular-fulls 
tack" 
npm ERR! cwd C:\Users\Rachit\Desktop\node_example 
npm ERR! node -v v0.10.30 
npm ERR! npm -v 1.4.21 
npm ERR! code ELIFECYCLE 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  C:\Users\Rachit\Desktop\node_example\npm-debug.log 
npm ERR! not ok code 0 

我使用Windows 7 32位

npm-debug.log

+0

你能粘贴堆栈跟踪细节上NPM- debug.log? – Pracede 2015-02-09 10:58:11

+0

@Pracede编辑后附npm-debug.log请复习。 – squiroid 2015-02-09 11:10:25

+0

同样的问题在这里,它今天开始 – Pastur 2015-02-09 11:24:03

回答

相关问题