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

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

npm run dev 之后報錯,這個是因為什么啊

ERROR in ./src/todo/footer.jsx

Module build failed (from ./node_modules/babel-loader/lib/index.js):

ReferenceError: Unknown option: .preset. Check out https://babeljs.io/docs/en/babel-core/#options for more i

nformation about options.

? ? at throwUnknownError (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\validation\options.js:123

:11)

? ? at Object.keys.forEach.key (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\validation\options.

js:107:5)

? ? at Array.forEach (<anonymous>)

? ? at validateNested (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\validation\options.js:83:21)

? ? at validate (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\validation\options.js:74:10)

? ? at file (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\config-chain.js:174:34)

? ? at cachedFunction (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\caching.js:33:19)

? ? at buildRootChain (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\config-chain.js:120:36)

? ? at loadPrivatePartialConfig (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\partial.js:85:55)

? ? at Object.loadPartialConfig (F:\studyCode\vue\abc\node_modules\@babel\core\lib\config\partial.js:110:18)

? ? at Object.<anonymous> (F:\studyCode\vue\abc\node_modules\babel-loader\lib\index.js:140:26)

? ? at Generator.next (<anonymous>)

? ? at asyncGeneratorStep (F:\studyCode\vue\abc\node_modules\babel-loader\lib\index.js:3:103)

? ? at _next (F:\studyCode\vue\abc\node_modules\babel-loader\lib\index.js:5:194)

? ? at F:\studyCode\vue\abc\node_modules\babel-loader\lib\index.js:5:364

? ? at new Promise (<anonymous>)

?@ ./src/app.vue?vue&type=script&lang=js& (./node_modules/vue-loader/lib??vue-loader-options!./src/app.vue?v

ue&type=script&lang=js&) 11:0-38 17:8-14

?@ ./src/app.vue?vue&type=script&lang=js&

?@ ./src/app.vue

?@ ./src/index.js

?@ multi (webpack)-dev-server/client?http://0.0.0.0:8000 (webpack)/hot/dev-server.js ./src/index.js


正在回答

4 回答

遇到了同樣的錯誤

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

兄弟,這個問題解決了嗎?

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

同樣的錯誤,累了累了,改了好久還是不行

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

https://img1.sycdn.imooc.com//5c4bd2830001ce5604200215.jpg補充footer.jsx


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

慕村2426204

你配置.babelrc了嗎
2019-01-29 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

npm run dev 之后報錯,這個是因為什么啊

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

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

幫助反饋 APP下載

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

公眾號

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