npm 错误! notsup fsevents@2.1.3 不受支持的平台:想要 {"os":"darwin"}(当前:{"os":"win32","arch":"ia32"})

时间:2021-06-15 06:51:01

标签: npm create-react-app npm-install npm-start

我有一个基于 create-react-app 的本地存储库。远程仓库中的文件工作正常,但本地仓库有问题。

我尝试在本地存储库中运行 npm install 并弹出错误显示

npm ERR! code EBADPLATFORM

npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin"} (current: {"os":"win32","arch":"ia32"})

npm ERR! notsup Valid OS: darwin

npm ERR! notsup Valid Arch: undefined

npm ERR! notsup Actual OS: win32

npm ERR! notsup Actual Arch: ia32

我也尝试运行 npm start {react-scripts start} 并且它抛出了一堆错误。我发现很难理解 npm 或 json 文件是否有问题。而且我不知道问题出在哪里。 我的 Github 中的主 repo 很好,在本地克隆后,我无法在本地运行它。

0 个答案:

没有答案