[Solved] Vue installation Babel dependency error

Just deleted the dependent package for some reasons and reinstalled it. The result is an error

deprecate babel-preset-es2015@* ???? Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!

After checking, it turns out that Babel preset es2015 has been started and abandoned. Now Babel preset env is the latest one. Just reinstall it

npm install babel-preset-env --save

 

Similar Posts: