Answers for "{ Error: Cannot find module '@babel/core'"

2

n Error: Cannot find module '@babel/core'

npm install --save-dev @babel/core @babel/preset-env
Posted by: Guest on August-14-2020
1

Error: Cannot find module '@babel/core'

For those wanting to use babel-loader 8+: it requires Babel 7.x,, which is to be installed as the '@babel/core' package instead of 'babel-core'. In other words, run:

>npm install --save-dev @babel/core
Posted by: Guest on May-21-2020

Code answers related to "{ Error: Cannot find module '@babel/core'"

Browse Popular Code Answers by Language