本文共 583 字,大约阅读时间需要 1 分钟。
在使用npm安装插件时,可能会遇到以下警告:
npm WARN deprecated core-js@2.6.12: 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 detection 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.
这意味着你正在使用已弃用的core-js版本,建议立即升级到最新版本。
升级core-js版本
core-js:npm install -g core-js@3.1.1
或者更简单地使用自动补充命令:
npm i core-js
安装chokidar
chokidar以确保插件的正常运行:npm i chokidar
如果你需要更详细的信息,可以参考相关文档或社区讨论。
转载地址:http://kqjfk.baihongyu.com/