Docker on RPi 4 fail to run generate command - query-engine-debian-openssl-1.1.x (32bit OS)
See original GitHub issueBug description
I’m trying to deploy a project with prisma2, nexus and graphql to a docker container on my raspberry pi 4. The node server crashes with an error: You most likely forgot to initialize the Prisma Client. Please run
prisma generate and try to run it again. If that does not solve your problem, please open an issue.
If I run yarn prisma generate
I receive a following error:
Get config /app/node_modules/@prisma/cli/query-engine-debian-openssl-1.1.x: 1: /app/node_modules/@prisma/cli/query-engine-debian-openssl-1.1.x: Syntax error: "(" unexpected
Any input is appreciated, thank you.
Dockerfile
FROM node:latest
RUN apt-get update && apt-get install --no-install-recommends --yes openssl
WORKDIR /app
COPY ./package.json .
COPY ./yarn.lock .
RUN yarn install
COPY . .
EXPOSE 4444
CMD yarn dev
Project dependencies
"dependencies": {
"@nexus/schema": "^0.15.0",
"@types/express": "^4.17.8",
"@types/node": "^12.12.56",
"apollo-server-express": "^2.17.0",
"cookie-parser": "^1.4.5",
"cross-env": "^7.0.2",
"express": "^4.17.1",
"graphql": "^14.7.0",
"graphql-middleware": "^4.0.2",
"graphql-shield": "^7.3.6",
"jsonwebtoken": "^8.5.1",
"nexus": "^0.26.1",
"nexus-plugin-prisma": "^0.19.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"devDependencies": {
"ts-node-dev": "^1.0.0-pre.62"
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (9 by maintainers)
Top Results From Across the Web
Docker install stopped working on Raspberry Pi #1368 - GitHub
I have been using docker on Raspberry Pi now for a while and in the past it worked great. But now the install...
Read more >Yes, you can run Docker on Raspbian | With Blue Ink
Very simple steps for getting Docker and Docker Compose on Raspberry Pi 2, 3 and 4.
Read more >Can't get Docker to install - Raspberry Pi Forums
A few months ago I tried installing docker using the basic instructions found online such as: https://pimylifeup.com/raspberry-pi-docker/.
Read more >32-bit container (based on balenalib) on Pi-4 64 doesn't work
Hi, I'm migrating to RPI 4 64 OS and have problems with my 32-bit app. My container relies on balenalib/armv7hf-debian.
Read more >apt - Installing docker on Raspberry pi
Sep 21 00:31:49 raspberrypi systemd[1]: Failed to start Docker Application Container Engine. -- Subject: A start job for unit docker.service ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are currently working on providing binaries for ARM. The reason this is not trivial is because the build process has to be integrated into our CI system. Our CI currently runs on x86 machines. In order to integrate we started to look into cross compiling. Support in Rust is good here but we also needed OpenSSL compiled for ARM to link against at build time. This was quite some work but we are nearing the finish line 😃
Many thanks for taking this on. Any ~ETA when we can expect this to be available? Doesn’t have to be stable, just “usable” 😃
PS: only really interested in
arm64