Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

npm install fails on cwebp-bin #1120

Open
melanki opened this issue Dec 14, 2021 · 0 comments
Open

npm install fails on cwebp-bin #1120

melanki opened this issue Dec 14, 2021 · 0 comments

Comments

@melanki
Copy link

melanki commented Dec 14, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant