npm警告可选的跳过选择性依赖性:fsevents@1.2.9(node_modules \ gulp \ node_modules \ fsevents):

时间:2019-10-22 22:34:13

标签: gulp

我正在尝试安装GULP,但收到此警告或错误

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\gulp\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ gulp@4.0.2
added 313 packages from 217 contributors and updated 1 package in 28.108s

配置为Node v10.16.3 | npm v- 6.12.0 |我在64位Windows10上正常工作

1 个答案:

答案 0 :(得分:0)

您可以忽略该警告,该依赖关系特定于Mac OS,并且您在Windows上,因此npm跳过它,无论如何gulp都可以工作