shapez.io icon indicating copy to clipboard operation
shapez.io copied to clipboard

Error when building on arm64 OS

Open Garulfo opened this issue 3 years ago • 1 comments

Hardware : Raspberry 4B Operating System: Ubuntu Server 22.04 LTS
Kernel: Linux 5.15.0-1011-raspi Architecture: arm64

docker-compose.yml

services:
  shapez:
    build: .
    ports:
      - "8001:3001"
      - "8005:3005"

the following command to build the image results to an error with mozjpeg docker-compose build

image error An unexpected error occurred: "ENOENT: no such file or directory, lstat '/shapez.io/node_modules/mozjpeg/\u0001�\u0017@@�\u000f\f@8\b@\u001eu0006\u0005@@@@@�\u0001�\u0001\b\u0003\u0004\u0002\u0002@\u0002@\u001c\u001c\u0001\u0001\u0005@@\u001c�'".

It seems that there is no mozjpeg package for this platform ? is there any workaround for this ?

Thank you for helping

Garulfo avatar Jun 13 '22 10:06 Garulfo

You could try disabling the image compression - but you might run into more issues

tobspr avatar Jun 16 '22 21:06 tobspr