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

npm install fails on cwebp-bin #1120

@melanki

Description

@melanki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions