[英]What is fsevents in Node.js?
Whenever I install any packages through npm I keep getting this warning:每当我通过 npm 安装任何软件包时,我都会收到此警告:
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
I tried various methods to update it.我尝试了各种方法来更新它。 But all failed.但都失败了。
So my question is, is this important for Node.js?所以我的问题是,这对 Node.js 重要吗? Can I uninstall it, if possible?如果可能的话,我可以卸载它吗? Or is there any other ways to update or remove the warning?或者有没有其他方法可以更新或删除警告?
Some package you are using is apparently using the v2.1.3 version of the fsevents module , yet that has been specifically deprecated (usually because of known problems or vulnerabilities) and it is recommended to use v2.2.x instead.您正在使用的某些 package 显然使用的是fsevents 模块的 v2.1.3 版本,但已被特别弃用(通常是因为已知问题或漏洞),建议改用 v2.2.x。 If you aren't yourself directly using the fsevents package, then you can grep your node_modules directory and find out which package is using fsevents.如果您不是自己直接使用 fsevents package,那么您可以 grep 您的 node_modules 目录并找出哪个 package 在使用 fsevents。 You can then try several things:然后你可以尝试几件事:
Whenever I install any packages through npm I keep getting this warning:每当我通过 npm 安装任何软件包时,我都会收到以下警告:
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
I tried various methods to update it.我尝试了各种方法来更新它。 But all failed.但都失败了。
So my question is, is this important for Node.js?所以我的问题是,这对 Node.js 重要吗? Can I uninstall it, if possible?如果可能的话,我可以卸载它吗? Or is there any other ways to update or remove the warning?还是有其他方法可以更新或删除警告?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.