Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building on arm64 OS #1437

Open
Garulfo opened this issue Jun 13, 2022 · 1 comment
Open

Error when building on arm64 OS #1437

Garulfo opened this issue Jun 13, 2022 · 1 comment

Comments

@Garulfo
Copy link

Garulfo commented Jun 13, 2022

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

@tobspr
Copy link
Member

tobspr commented Jun 16, 2022

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

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

No branches or pull requests

2 participants