huangmindeMacBook-Pro:9detail頁(yè)面完成 huangmin$ npm run dev> vueproject@1.0.0 dev /Users/huangmin/Downloads/項(xiàng)目:Vue搭建課程首頁(yè)/源碼/9detail頁(yè)面完成/9detail頁(yè)面完成> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js?10% 10 10% bu 10% build 10% build 10% build 10% build 10% build 11% build 11% build 11% 11% b 11% ? 12% 12% 12 12 12% 13% 13% 13% 94% after seal ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??ERROR? Failed to compile with 1 errors ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 09:47:20?error? in ./src/main.jsModule build failed (from ./node_modules/babel-loader/lib/index.js):Error: Plugin/Preset files are not allowed to export objects, only functions. In /Users/huangmin/Downloads/項(xiàng)目:Vue搭建課程首頁(yè)/源碼/9detail頁(yè)面完成/9detail頁(yè)面完成/node_modules/babel-preset-stage-2/lib/index.js? ? at createDescriptor (/Users/huangmin/node_modules/@babel/core/lib/config/config-descriptors.js:178:11)? ? at items.map (/Users/huangmin/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)? ? at Array.map (<anonymous>)? ? at createDescriptors (/Users/huangmin/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)? ? at createPresetDescriptors (/Users/huangmin/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)? ? at presets (/Users/huangmin/node_modules/@babel/core/lib/config/config-descriptors.js:47:19)? ? at mergeChainOpts (/Users/huangmin/node_modules/@babel/core/lib/config/config-chain.js:315:26)? ? at /Users/huangmin/node_modules/@babel/core/lib/config/config-chain.js:278:7? ? at buildRootChain (/Users/huangmin/node_modules/@babel/core/lib/config/config-chain.js:118:22)? ? at loadPrivatePartialConfig (/Users/huangmin/node_modules/@babel/core/lib/config/partial.js:85:55)? ? at Object.loadPartialConfig (/Users/huangmin/node_modules/@babel/core/lib/config/partial.js:110:18)? ? at Object.<anonymous> (/Users/huangmin/Downloads/項(xiàng)目:Vue搭建課程首頁(yè)/源碼/9detail頁(yè)面完成/9detail頁(yè)面完成/node_modules/babel-loader/lib/index.js:140:26)? ? at Generator.next (<anonymous>)? ? at asyncGeneratorStep (/Users/huangmin/Downloads/項(xiàng)目:Vue搭建課程首頁(yè)/源碼/9detail頁(yè)面完成/9detail頁(yè)面完成/node_modules/babel-loader/lib/index.js:3:103)? ? at _next (/Users/huangmin/Downloads/項(xiàng)目:Vue搭建課程首頁(yè)/源碼/9detail頁(yè)面完成/9detail頁(yè)面完成/node_modules/babel-loader/lib/index.js:5:194)? ? at /Users/huangmin/Downloads/項(xiàng)目:Vue搭建課程首頁(yè)/源碼/9detail頁(yè)面完成/9detail頁(yè)面完成/node_modules/babel-loader/lib/index.js:5:364?@ multi (webpack)-dev-server/client?http://localhost:8081 (webpack)/hot/dev-server.js ./src/main.js
添加回答
舉報(bào)
0/150
提交
取消