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.

ARM / Raspberry Pi Builds unable to Install

See original GitHub issue

Bug description

I have a project developed on Windows/WSL that I wish to deploy and run on Raspberry Pi 4b running Ubuntu 21.10 and, Node v17.2.0. It installs successfully but fails when running npx prisma generate with the following error:

Download Prisma engines for Node-API for linux-arm-openssl-1.1.X - Error: Not Found https://binaries.prisma.sh/all_commits/3383b0f8f1fe9052cf9a00e9761c9dc097a63c/linux-arm-openssl-1.1.x/migration-engine.gz

How to reproduce

Install Ubuntu 21.10 on Raspberry Pi 4 Install Node v17.2.0 Attempt to run ‘npx prisma generate’ on a project using prisma 3.3.0

Expected behavior

Prisma to download the required engines and successfully generate ARM compatible executables for use with my project.

Prisma information


generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "sqlite"
  url      = "file:./dev.db"
}

model User {
  id              String      @id @default(uuid())
  firstname       String
  surname         String
  email           String      @unique
  password        String
  avatarUrl       String?
  privilege       String      @default("AUTHOR")
  articles        Article[]   @relation(name: "articles")
  group           Group[]
  contributingTo  Article[]   @relation(name: "contributingTo")
}

model Group {
  id              String      @id @default(uuid())
  name            String      @unique
  url             String?     @unique
  admin           User        @relation(fields: [adminId], references: [id])
  adminId         String
  articles        Article[]
}

model Article {
  id              String      @id @default(uuid())
  createdAt       DateTime    @default(now())
  title           String?     @default("New Article")
  summary         String?
  content         String?
  updatedAt       DateTime?
  url             String?
  status          String      @default("DRAFT")
  author          User        @relation(name: "articles", fields: [authorId], references: [id])
  authorId        String
  group           Group       @relation(fields: [groupId], references: [id])
  groupId         String
  contributors    User[]      @relation(name: "contributingTo")
}

Environment & setup

  • Hardware: Raspberry Pi 4b
  • OS: Ubuntu 21.10
  • Database: SQL Lite
  • Node.js version: v17.2.0

Prisma Version

v 3.3.0

(… in my projects package.json but running prisma -v does not work as it is not successfully generated)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ACregancommented, Jan 6, 2022

@pantharshit00 @aqrln @janpio: Thats fantastic, I’ve installed Ubuntu 21.10 ARM64 on raspberry pi and can confirm it now works as expected. Thanks for your help with this.

Prisma is fantastic, thanks for the great work you do!

1reaction
janpiocommented, Jan 3, 2022

Internal: Is linux-arm-openssl-1.1.x a platform Prisma is supposed to support?

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot install driver and cannot build on raspberry pi
I have Raspberry Pi 4 and Structure Core sensor and I faced these problems. Build problem; I've installed cmake and executed commands below....
Read more >
Unable to install Kodi on Pi 4 - Raspberry Pi Forums
I had to reinstall Raspberry Pi OS on a new Micro SD, installed Pi-Hole smoothly, but am unable to install Kodi now. I...
Read more >
Unable to deploy application to Raspberry Pi 3, Windows 10 ...
I'm receiving the following error when attempting to deploy my UWP application to my connected Raspberry Pi 3, Model B. I am running...
Read more >
I'm unable to install FLAC on my Raspberry Pi 3
1 Answer 1 · 1. use the archives: · 2. backporting: · 3. build and install from upstream sources:.
Read more >
How to install Windows 10 on Raspberry Pi 4 & 400. WOR ...
How to install Windows 10 on Raspberry Pi 4 & 400. WOR episode 30. Raspberry Pi 4 / 400WorkingSSD ... Your browser can't...
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