fsevents 可选依赖项 returns 与系统不兼容

fsevents optional dependency returns not compatible with system

我正在安装 babel core 6.26.0 this documentation,除了以下错误外,一切顺利:

npm WARN optional Skipping failed optional dependency /babel-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4

我想知道这是否只是噪音?或者如果有人可能知道有解决方法?我看过一些关于它的文档,但没有具体内容。

是的,这是预期的。 fsevents 仅在 OSX 上受支持,因此在任何其他系统上,您会看到一条消息,表明它已被跳过。