gpt4 book ai didi

ionic-framework - 如何修复 'Unsupported platform for fsevents@1.2.9: wanted {"操作系统“:"darwin","arch":"any"}(当前 : {"os" :"win32" ,"arch" :"x64"})

转载 作者:行者123 更新时间:2023-12-03 11:30:02 32 4
gpt4 key购买 nike

测试二进制
二进制没问题
npm WARN rollback 回滚 node-pre-gyp@0.12.0 失败(这可能是无害的):

EPERM: operation not permitted, lstat 'C:\Users\orca yoon\Documents\IonicProjects\starters\epic\node_modules\fsevents\node_modules'

npm notice created a lockfile as package-lock.json. You should commit this file.

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"})



添加了来自 1050 个贡献者的 1105 个包,并在 445.94 秒内审核了 53269 个包
发现 1 个高危漏洞
运行 npm audit fix修复它们,或 npm audit详情

最佳答案

当我今天刚遇到这个问题时,我阅读了第一个解决方案,但首先尝试了一件事情
删除 package-lock.jsonnode_modules目录优先
运行这些命令,它应该可以工作。

rm -rf node_modules package-lock.json
npm install
像一个魅力一样工作,也许它会帮助别人。

关于ionic-framework - 如何修复 'Unsupported platform for fsevents@1.2.9: wanted {"操作系统“:"darwin","arch":"any"}(当前 : {"os" :"win32" ,"arch" :"x64"}),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56103865/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com