繁体   English   中英

如何在 Windows 10 上为 laravel 安装 npm 并解决这个问题?

[英]how to install npm for laravel on windows 10 and solve this problem?

当我尝试运行 npm install 时出现以下错误。

类型:

npm install

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (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"})

audited 17160 packages in 10.766s
found 2 moderate severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

这不是错误,只是警告。 该警告表明您正在使用 Windows 操作系统,其中该软件包是为 MacOS 设计的。

Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"}(current: {"os":"win32","arch":"x64"})

您可以跳过此警告并继续。 它不会以任何方式影响您的开发。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM