npm WARN deprecated core-js@2.6.11

亡梦爱人 提交于 2020-05-30 08:00:09

问题


When I enter $ npm install --save react react-dom next, I got this warning:

npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

I tried updating it with $ npm install --save core-js@^3, but it shows the same error.

How can I update core?


回答1:


npm uninstall core-js then npm i core-js should work.



来源:https://stackoverflow.com/questions/60079846/npm-warn-deprecated-core-js2-6-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!