When attempting to update/upgrade dev dependencies:
"@babel/core": "^7.1.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
I get the following error when running npm run build:
Error: Cannot find module 'babel-plugin-transform-runtime' from '/Users/AKB/GitHub/myValencer'
- Did you mean "@babel/transform-runtime"? while parsing file: /Users/AKB/GitHub/myValencer/front/frontend/main.js
at Function.module.exports [as sync]
...
Dunno how to update the paths...
Following attempts to add a .babelrc file fails miserably:
{
"presets": [
["@babel/preset-env", {
"useBuiltIns": false,
}],
],
"plugins": [
"@babel/plugin-transform-runtime"
]
}
When attempting to update/upgrade dev dependencies:
I get the following error when running
npm run build:Dunno how to update the paths...
Following attempts to add a .babelrc file fails miserably: