Macos NPM(Docker)OSX的安装问题

Macos NPM(Docker)OSX的安装问题,macos,npm,saleor,Macos,Npm,Saleor,安装Saleor时,我收到两个错误/警告。 有人知道如何解决这个问题吗? 我知道这是一个可选的软件包,但它不会继续安装 ⚠ Command failed: /app/node_modules/cwebp-bin/vendor/cwebp -version /app/node_modules/cwebp-bin/vendor/cwebp: error while loading shared libraries: libGL.so.1: cannot open shared object file

安装Saleor时,我收到两个错误/警告。 有人知道如何解决这个问题吗? 我知道这是一个可选的软件包,但它不会继续安装

⚠ Command failed: /app/node_modules/cwebp-bin/vendor/cwebp -version
/app/node_modules/cwebp-bin/vendor/cwebp: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory


  ⚠ cwebp pre-build test failed
  ℹ compiling from source
  ✔ cwebp built successfully

**Second ERROR**
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/jest/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/@storybook/addon-storyshots/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/@storybook/addon-docs/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/@jest/transform/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

我不知道你为什么会得到这些日志,但是你的标题说你正在使用Linux 64位。
fsevents
包是针对macOs系列的,是的,它不是必需的。我想需要{“os”:“darwin”,“arch”:“any”}(当前:{“os”:“linux”,“arch”:“x64”})darwin表示OSx。。事实上,我不太确定问题出在哪里,但在用命令(docker system prune)清除了我的所有环境后,从Scratch中拉出解决了我的问题。我正在尝试使用Ubuntu 18.04,并得到了类似的结果。我不确定你为什么会得到这些日志,但你的标题说你使用的是Linux 64位。
fsevents
包是针对macOs系列的,是的,它不是必需的。我想需要{“os”:“darwin”,“arch”:“any”}(当前:{“os”:“linux”,“arch”:“x64”})darwin表示OSx。。事实上,我不太确定问题出在哪里,但在用命令(docker system prune)清除了我的所有环境后,从Scratch中拉出解决了我的问题。我正在尝试使用Ubuntu 18.04,并得到了类似的结果