question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error during prisma2 init ( introspect fails on Raspberry Pi)

See original GitHub issue

Hi, 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:closed
  • Created 4 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
pantharshit00commented, Jul 25, 2019

@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 ie sudo npm install -g --unsafe-perm prisma2

0reactions
pantharshit00commented, Oct 29, 2019

Closing in favour of #861

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found