0

错误描述:

"/ 安装 for-in@^0.1.5platform unsupported webpack@1.13.3 › watchpack@0.2.9 › chokidar@1.6.1 › fsevents@1.0.15 Package require os(darwin) not compatible with your platform(win32) [ fsevents@^1.0.0] 可选安装错误:软件包需要操作系统(darwin)与您的平台(win32)不兼容”

我确定我的平台是 Windows 64。请告诉我为什么会发生此错误。

4

1 回答 1

2

这是一个被忽略的错误。fsevents 是一个可选依赖项,仅在 macOS 上使用,而不在 Windows 或 Linux 上使用。你可以简单地忽略它!在 Windows 上使用 webpack(和许多其他包)时总是会发生这种情况,这是完全正常和预期的。

于 2016-11-09T17:16:41.090 回答