在最新版本上全新安装 Ubuntu 20.x、npm 和 node。收到这些错误:
npm WARN 可选跳过可选依赖:fsevents@2.1.3 (node_modules/@angular/compiler-cli/node_modules/fsevents):npm WARN notsup 跳过可选依赖:fsevents@2.1.3 不支持的平台:想要 {"os":" darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev -server/node_modules/fsevents):npm WARN notsup 跳过可选依赖:fsevents@1.2.13 不受支持的平台:想要 {"os":"darwin","arch":"any"}(当前:{"os": "linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/watchpack/node_modules/fsevents):npm WARN notsup 跳过可选依赖:fsevents@2.1.3 不受支持的平台:想要 {"os":"darwin","arch":"any"}(当前:{"os":"linux","arch": “x64”})npm WARN 可选跳过可选依赖:fsevents@1.2.13(node_modules/watchpack-chokidar2/node_modules/fsevents):npm WARN notsup 跳过可选依赖:fsevents@1.2.13 不支持的平台:想要 {“os” :"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/sass /node_modules/fsevents): npm WARN notsup 跳过可选依赖: fsevents@2.1.3 不支持的平台: 想要 {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/rollup/node_modules/fsevents): npm WARN notsup跳过可选依赖:fsevents@2.1.3 不受支持的平台:想要 {"os":"darwin","arch":"any"}(当前:{"os":"linux","arch":"x64" }) npm WARN 可选跳过可选依赖:fsevents@1.2.4 (node_modules/fsevents):npm WARN notsup 跳过可选依赖:fsevents@1.2.4 不支持的平台:想要 {"os":"darwin","arch": "any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/karma/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 不支持的平台: 想要 {"os":"darwin","arch":"any"} (当前: {" os":"linux","arch":"x64"})
添加了来自 1488 个贡献者的 2602 个包,并在 196.679 秒内审核了 2686 个包
63个包正在寻找资金运行npm fund
以获取详细信息
发现 140 个漏洞(88 个低、5 个中等、45 个高、2 个严重)运行npm audit fix
以修复它们,或npm audit
获取详细信息
如何解决?