为什么我在npm install 安装需要的npm包时候,老是出现错误

错误如下,这有没有碰到过的
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
讨论数量: 2

我在package.json 后面加上 "dependencies": { "chokidar": "^3.5.1", "fsevents": "^2.3.2", "ws": "^7.4.4" } 就解决了

3年前 评论
vescape920 3年前
Epona

warn 不用管, error 再处理就可以

3年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!