qq_我还能孩子气多久_0
2019-01-26 11:21
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
遇到了同样的错误
兄弟,这个问题解决了吗?
同样的错误,累了累了,改了好久还是不行
补充footer.jsx
Vue+Webpack打造todo应用
84605 学习 · 787 问题
相似问题