阅读:4740回复:1
babel升级,踩坑!Error: Cannot find module '@babel/core'
Error: Cannot find module '@babel/core'
babel-loader@8 requires Babel 7.x (the package '@babel/core'). If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'. at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) .... 在这里插入图片描述 没找到@babel/core,需要把babel-core卸载掉,从新安装@babel/core npm un babel-core npm i -D @babel/core |
|
沙发#
发布于:2021-07-02 14:18
|
|