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
However my build is now broken and I get the following errors:
ERROR in ./src/app/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
ReferenceError: Unknown plugin "@babel/plugin-proposal-object-rest-spread" specified in "/path/to/myapp/.babelrc" at 0, attempted to resolve relative to "/path/to/myapp"
ERROR in ./src/app/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel-preset-es2015' from '/path/to/myapp'
The text was updated successfully, but these errors were encountered:
I tried to use
babel-upgrade
to upgrade my project from Babel 6 to Babel 7.I've used the command:
This is how it affected my
package.json
dependencies:However my build is now broken and I get the following errors:
The text was updated successfully, but these errors were encountered: