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

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在按裝yo react-webpack gallery-by-react時提示錯誤this.env.adapter.prompt(...).then is not a function

在按裝yo react-webpack gallery-by-react時提示錯誤this.env.adapter.prompt(...).then is not a function

lisa02_08 2017-03-01 16:06:13
? Please choose your application name (galleryByReact)events.js:141? ? ? throw er; // Unhandled 'error' event? ? ? ^TypeError: this.env.adapter.prompt(...).then is not a function? ? at Base.prompt (/usr/local/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/lib/base.js:240:45)? ? at module.exports.generator.Base.extend.prompting (/usr/local/lib/node_modules/generator-react-webpack/generators/app/index.js:39:17)? ? at Object.<anonymous> (/usr/local/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/lib/base.js:439:23)? ? at /usr/local/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/node_modules/run-async/index.js:25:25? ? at /usr/local/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/node_modules/run-async/index.js:24:19? ? at /usr/local/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/lib/base.js:440:9? ? at processImmediate [as _immediateCallback] (timers.js:383:17)
查看完整描述

3 回答

?
lisa02_08

TA貢獻2條經驗 獲得超0個贊

已解決,方法是:

安裝generator-react-webapck

$ ?npm install -g generator-react-webpack

查看完整回答
反對 回復 2017-03-02
?
lisa02_08

TA貢獻2條經驗 獲得超0個贊

怎么沒有牛人回答呀,老師回答一下吧,沒辦法繼續下去了呢

查看完整回答
反對 回復 2017-03-02
  • 3 回答
  • 0 關注
  • 1612 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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