【问题标题】:I am getting Unsupported platform for fsevents@1.2.4 error while installing Angular. How to solve it?在安装 Angular 时,我收到了 Unsupported platform for fsevents@1.2.4 错误。如何解决?
【发布时间】:2018-11-17 15:17:44
【问题描述】:

C:\Users\vivek>npm install -g @angular/cli C:\Users\vivek\AppData\Roaming\npm\ng -> C:\Users\vivek\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng npm WARN 可选跳过可选依赖:fsevents@1.2.4 (node_modules\@angular\cli\node_modules\fsevents):npm WARN notsup 跳过可选依赖:fsevents@1.2.4 不受支持的平台: 想要 {"os":"darwin","arch":"any"}(当前: {"os":"win32","arch":"x64"})

  • @angular/cli@7.0.6 在 131.235 秒内添加了来自 205 个贡献者的 265 个包

C:\Users\vivek>node -v v11.1.0

【问题讨论】:

标签: angular npm npm-install node-modules


【解决方案1】:

如果您在 WINDOWS 操作系统中工作,则会出现此警告。 fsevents npm 库仅在 MAC OS 中受支持。

这只是一个警告。你可以忽略它。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-12-13
    • 2021-12-07
    • 1970-01-01
    • 1970-01-01
    • 2021-09-12
    • 1970-01-01
    • 2021-04-12
    • 1970-01-01
    相关资源
    最近更新 更多