saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
770 stars 672 forks source link

npm install fails on cwebp-bin #1120

Open melanki opened 2 years ago

melanki commented 2 years ago

What I'm trying to achieve

Build & Run Docker image

Steps to reproduce the problem

  1. Git clone
  2. docker-compose build

What I expected to happen

Docker should build & run

Screenshots

You can now open Cypress by running: node_modules/.bin/cypress open
#22 464.3 
#22 464.3 https://on.cypress.io/installing-cypress
#22 464.3 
#22 464.4 
#22 464.4 > cwebp-bin@5.0.0 postinstall /app/node_modules/cwebp-bin
#22 464.4 > node lib/install.js
#22 464.4 
#22 467.6   ⚠ Command failed: /app/node_modules/cwebp-bin/vendor/cwebp -version
#22 467.6 /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
#22 467.6 
#22 467.6 
#22 467.6   ⚠ cwebp pre-build test failed
#22 467.6   ℹ compiling from source
#22 544.8 Killed
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c npm install]: exit code: 137

System information Operating system: macOS arm64