本文介绍: npm WARN deprecated corejs@2.6.12: corejs@

安装elementui时出现警告:

npm WARN deprecated corejs@2.6.12: corejs@❤️.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

在这里插入图片描述
这表明你的core-js版本低了。

解决方法

 npm i core-js

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注