兩者都產生相同的錯誤。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? – Pracede 2015-02-09 10:58:11
@Pracede編輯後附npm-debug.log請複習。 – squiroid 2015-02-09 11:10:25
同樣的問題在這裏,它今天開始 – Pastur 2015-02-09 11:24:03