![](/img/trans.png)
[英]How to solve npm install throwing fsevents warning on Windows?
[英]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.