Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
时间: 2023-08-21 20:06:08 浏览: 139
回答: 这个错误是因为在安装依赖时出现了平台不支持的情况。具体来说,你的当前平台是win32,但是依赖项fsevents@1.2.13要求的平台是darwin。要解决这个问题,你可以尝试升级fsevents到版本2,因为fsevents 1在node v14上可能会出现问题并且可能使用不安全的二进制文件。另外,你还可以检查一下你的项目源码中是否存在其他错误导致这个问题出现。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Unsupported platform for fsevents@1.2.13: wanted {“name“:“fsevents“,“version“:“1.2.13“,...](https://blog.csdn.net/u010164507/article/details/126643348)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [fsevents@1.2.13: wanted {“os“:“darwin“,“arch“:“any“} (current: {“os“:“win32“,“arch“:...](https://blog.csdn.net/weixin_39031037/article/details/124841939)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [记录 vue-admin-template 中 npm install 错误解决办法](https://blog.csdn.net/AJ_007/article/details/109328482)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文