You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The npm start script stops running with the latest aragon client commit.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/1hive/aragon
npm install
npm start
Error message
> node scripts/start
aragonUI assets copied to public/aragon-ui
Server running at http://localhost:3000
🚨 /home/sem/Projects/ac/src/index.js: 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": "/home/sem/Projects/ac/node_modules/@babel/plugin-proposal-class-properties/lib/index.js",
"dirname": "/home/sem/Projects/ac",
"ownPass": false,
"file": {
"request": "@babel/plugin-proposal-class-properties",
"resolved": "/home/sem/Projects/ac/node_modules/@babel/plugin-proposal-class-properties/lib/index.js"
}
},
{
"alias": "base$2",
"options": {
"loose": "#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"
},
"dirname": "/home/sem/Projects/ac",
"ownPass": false
}
]
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": "/home/sem/Projects/ac/node_modules/@babel/plugin-proposal-class-properties/lib/index.js",
"dirname": "/home/sem/Projects/ac",
"ownPass": false,
"file": {
"request": "@babel/plugin-proposal-class-properties",
"resolved": "/home/sem/Projects/ac/node_modules/@babel/plugin-proposal-class-properties/lib/index.js"
}
},
{
"alias": "base$2",
"options": {
"loose": "#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"
},
"dirname": "/home/sem/Projects/ac",
"ownPass": false
}
]
at assertNoDuplicates (/home/sem/Projects/ac/node_modules/@babel/core/lib/config/config-descriptors.js:206:13)
at createDescriptors (/home/sem/Projects/ac/node_modules/@babel/core/lib/config/config-descriptors.js:114:3)
at createPluginDescriptors (/home/sem/Projects/ac/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
at alias (/home/sem/Projects/ac/node_modules/@babel/core/lib/config/config-descriptors.js:63:53)
at cachedFunction (/home/sem/Projects/ac/node_modules/@babel/core/lib/config/caching.js:62:27)
at cachedFunction.next (<anonymous>)
at evaluateSync (/home/sem/Projects/ac/node_modules/gensync/index.js:251:28)
at sync (/home/sem/Projects/ac/node_modules/gensync/index.js:89:14)
at plugins.plugins (/home/sem/Projects/ac/node_modules/@babel/core/lib/config/config-descriptors.js:28:77)
at mergeChainOpts (/home/sem/Projects/ac/node_modules/@babel/core/lib/config/config-chain.js:415:26)
Desktop (please complete the following information):
OS version: Ubuntu
Node version: v10.23.0
Additional context
I think it has to do with an update of the babel dependency. I have seen the same error before, here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
npm start
script stops running with the latest aragon client commit.To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/1hive/aragon
npm install
npm start
Error message
Desktop (please complete the following information):
Additional context
I think it has to do with an update of the babel dependency. I have seen the same error before, here.
The text was updated successfully, but these errors were encountered: