warnings

Is there any way to get rid of npm optional dependency warnings through editing package.json?

谁说胖子不能爱 提交于 2020-08-19 05:57:28
问题 I hate warnings. Especially when those warnings are completely ignorable. Most warnings I encounter are non-clean code warnings and I like to have my code clean. Other warning are actual errors. Sometimes I miss error warnings because they were "hidden" between other warnings. So I like to keep things clean. Thus when I do npm install and see this: [folatt@MyComputer ~]$ npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): npm WARN notsup