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

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

我執行命令 yo react-webpack gallery-by-react時報錯

? ?gallery-by-react git:(master) yo react-webpack gallery-by-react


? ? ?_-----_

? ? | ? ? ? |

? ? |--(o)--| ? .--------------------------.

? ?`---------′ ?| ? ?Welcome to Yeoman, ? ?|

? ? ( _′U`_ ) ? | ? ladies and gentlemen! ?|

? ? /___A___\ ? '__________________________'

? ? ?| ?~ ?|

? ?__'.___.'__

?′ ? ` ?|° ′ Y `


Out of the box I include Webpack and some default React components.


? 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)

正在回答

1 回答

直接 在文件夾中 yo react-webpack就行了

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

舉報

0/150
提交
取消
React實戰--打造畫廊應用(上)
  • 參與學習       57293    人
  • 解答問題       283    個

顛覆式前端UI開發框架 React,打造圖片畫廊實踐案講解

進入課程

我執行命令 yo react-webpack gallery-by-react時報錯

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

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

幫助反饋 APP下載

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

公眾號

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