Last login: Fri Feb 14 20:26:21 on ttys000 zhengfans-MBP:~ zhengfan$ cd coolqua zhengfans-MBP:coolqua zhengfan$ npm run serve
[email protected] serve /Users/zhengfan/coolqua vue-cli-service serve
ERROR Error: Duplicate plugin/preset detected. If you'd like to use two separate instances of a plugin, they need separate names, e.g.
plugins: [ ['some-plugin', {}], ['some-plugin', {}, 'some unique name'], ]
Duplicates detected are: [ { "alias": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js", "options": { "quasar": { "transform": "quasar/dist/babel-transforms/imports.js", "preventFullImport": true } }, "dirname": "/Users/zhengfan/coolqua", "ownPass": false, "file": { "request": "transform-imports", "resolved": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js" } }, { "alias": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js", "options": { "quasar": { "transform": "quasar/dist/babel-transforms/imports.js", "preventFullImport": true } }, "dirname": "/Users/zhengfan/coolqua", "ownPass": false, "file": { "request": "transform-imports", "resolved": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js" } } ] Error: Duplicate plugin/preset detected. If you'd like to use two separate instances of a plugin, they need separate names, e.g.
plugins: [ ['some-plugin', {}], ['some-plugin', {}, 'some unique name'], ]
Duplicates detected are:
[
{
"alias": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js",
"options": {
"quasar": {
"transform": "quasar/dist/babel-transforms/imports.js",
"preventFullImport": true
}
},
"dirname": "/Users/zhengfan/coolqua",
"ownPass": false,
"file": {
"request": "transform-imports",
"resolved": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js"
}
},
{
"alias": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js",
"options": {
"quasar": {
"transform": "quasar/dist/babel-transforms/imports.js",
"preventFullImport": true
}
},
"dirname": "/Users/zhengfan/coolqua",
"ownPass": false,
"file": {
"request": "transform-imports",
"resolved": "/Users/zhengfan/coolqua/node_modules/babel-plugin-transform-imports/index.js"
}
}
]
at assertNoDuplicates (/Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/config-descriptors.js:206:13)
at createDescriptors (/Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/config-descriptors.js:114:3)
at createPluginDescriptors (/Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
at plugins (/Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/config-descriptors.js:40:19)
at mergeChainOpts (/Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/config-chain.js:319:26)
at /Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/config-chain.js:283:7
at Generator.next (<anonymous>)
at buildRootChain (/Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/config-chain.js:90:27)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig (/Users/zhengfan/coolqua/node_modules/@babel/core/lib/config/partial.js:95:62)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</anonymous></anonymous>