亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

安裝 yeoman失敗。。 求解

http://img1.sycdn.imooc.com//55b4589a000169a209060621.jpg

[email protected] postinstall e:\life\nodejs\node_global\node_modules\yo\node_modules\cross-spawn\node_modul
s\spawn-sync
node postinstall

module.js:338
throw err;
^
Error: Cannot find module 'E:\life\code\postinstall'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "E:\life\nodejs\\node.exe" "E:\life\nodejs\node_modules\npm\bin\npm-cli.js" "install"
yo" "-g"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall:?node postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node postinstall'.
npm ERR! This is most likely a problem with the spawn-sync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node postinstall
npm ERR! You can get their info via:
npm ERR! npm owner ls spawn-sync
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! E:\life\nodejs\npm-debug.log


正在回答

1 回答

試試先安裝postinstall吧

npm?install?-g?postinstall
npm?install?-g?yo

我剛剛去google了一下,沒找到你這個問題的答案。


順便恬不知恥地問一句:

你的命令行工具是什么

0 回復 有任何疑惑可以回復我~
#1

AnnatarHe 回復 Silence_o 提問者

已下載,Thx
2015-07-27 回復 有任何疑惑可以回復我~
#2

Thinker_Ac 回復 Silence_o 提問者

mini安裝報錯,你是直接點擊exe安裝的嗎
2015-09-04 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

安裝 yeoman失敗。。 求解

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號