npm WARN deprecated [email protected]: core-js@<3.3 is no longer maintained and not recommended for usa

在用npm安装插件时,出现了一条警告:

npm WARN deprecated [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature de
tection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

解决方法:

npm install -g [email protected]

也可以npm i core-js

然后

npm i chokidar

具体详情看大佬文章

你可能感兴趣的:(npm)