小编Hus*_*tom的帖子

fsevents@2.3.2 不受支持的平台:github 上需要 {"os":"darwin","arch":"any"} (当前:{"os":"linux","arch":"x64"})行动

我创建了一个 github 操作来在推送时部署代码。

安装软件包时会导致此错误。

Run npm i --no-optional && cd client && npm i --no-optional && cd ..
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual …
Run Code Online (Sandbox Code Playgroud)

linux fsevents node.js npm github-actions

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

fsevents ×1

github-actions ×1

linux ×1

node.js ×1

npm ×1