Error during prisma2 init ( introspect fails on Raspberry Pi)
See original GitHub issueHi, I tried to setup prisma2 on my raspberry pi. Sadly, during prisma2 init, it fails at the introspection step with the following error output.
❯ Error in lift engine for rpc convertDmmfToDml:
/home/pi/.nvm/versions/node/v11.4.0/lib/node_modules/prisma2/migration-engine: 1: /home/pi/.nvm/versions/node/v11.4.
0/lib/node_modules/prisma2/migration-engine: ELF: not found
/home/pi/.nvm/versions/node/v11.4.0/lib/node_modules/prisma2/migration-engine: 2: /home/pi/.nvm/versions/node/v11.4.0/
lib/node_modules/prisma2/migration-engine: Syntax error: "(" unexpected
Steps to reproduce:
- Installed prisma2 on a Raspberry Pi 2b+ (32bit ARM)
- Run “prisma 2 init”
- PostgresSQL setup
- After connection succeeded, tried to introspect a new schema
Is this error somehow related to 32-bit architecture of the RPI and is there a way to solve this issue?
Thanks in advance for your answers!
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Prisma init fails - Questions
When I run prisma init . in an empty directory I get the following error: [1/4] Resolving packages... [2/4] Fetching packages.
Read more >"npx prisma generate" infinity loading - Stack Overflow
Everything was working fine in my Windows machine, but in Ubuntu 20 when I run "npx prisma generate" or "npx prisma generate typegraphql"...
Read more >Prisma | Orm-help - Linen
I tried pushing my nextJs site to vercel and it failed with some error saying: Error: @prisma/client did not initialize yet. Please run...
Read more >All the posts - Flavio Copes
All the posts. Psssst! The 2023 WEB DEVELOPMENT BOOTCAMP is starting in just 48 days! Join the waiting list, reserve your spot in...
Read more >Clustering 4000 Stack Overflow tags with BigQuery k-means
You can check out more about working with Stack Overflow data and BigQuery ... macos, ubuntu, ansible, ssh, raspberry-pi, terminal, vim, ...
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 Free
Top 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
@Germain67 For now ARM support is planned. We have worked in the past couple of weeks to improve our platform support. https://github.com/prisma/specs/tree/master/binaries#tier-2
@herbertpimentel Looks like somehow binary was not installed. Can you please try installing prisma2 using
--unsafe-perm
iesudo npm install -g --unsafe-perm prisma2
Closing in favour of #861