error in ./src/main.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Duplicate plugin/preset detected.
If you'd like to use two separate instances of a plugin,
they neen separate names, e.g.
plugins: [
['some-plugin', {}],
['some-plugin', {}, 'some unique name'],
]
at assertNoDuplicates (E:\companyProject\wallet\my-app\node_modules\@babel\c ore\lib\config\config-descriptors.js:201:13)
at createDescriptors (E:\companyProject\wallet\my-app\node_modules\@babel\co re\lib\config\config-descriptors.js:92:3)
at createPluginDescriptors (E:\companyProject\wallet\my-app\node_modules\@ba bel\core\lib\config\config-descriptors.js:83:10)
at plugins (E:\companyProject\wallet\my-app\node_modules\@babel\core\lib\con fig\config-descriptors.js:44:19)
at plugins (E:\companyProject\wallet\my-app\node_modules\@babel\core\lib\con fig\config-descriptors.js:34:25)
at mergeChainOpts (E:\companyProject\wallet\my-app\node_modules\@babel\core\ lib\config\config-chain.js:307:26)
at E:\companyProject\wallet\my-app\node_modules\@babel\core\lib\config\confi g-chain.js:271:7
at buildRootChain (E:\companyProject\wallet\my-app\node_modules\@babel\core\ lib\config\config-chain.js:90:20)
at loadPrivatePartialConfig (E:\companyProject\wallet\my-app\node_modules\@b abel\core\lib\config\partial.js:51:55)
at Object.loadPartialConfig (E:\companyProject\wallet\my-app\node_modules\@b abel\core\lib\config\partial.js:74:18)
at Object.<anonymous> (E:\companyProject\wallet\my-app\node_modules\babel-lo ader\lib\index.js:105:26)
at Generator.next (<anonymous>)
at step (E:\companyProject\wallet\my-app\node_modules\babel-loader\lib\index .js:3:221)
at _next (E:\companyProject\wallet\my-app\node_modules\babel-loader\lib\inde x.js:3:409)
at E:\companyProject\wallet\my-app\node_modules\babel-loader\lib\index.js:3: 477
at new Promise (<anonymous>)
@ multi (webpack)-dev-server/client?http://192.168.0.194:8080/sockjs-node (webp ack)/hot/dev-server.js ./src/main.js
慕设计2395807
pardon110