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

deployment issues on railway #2

Open
thomas779 opened this issue Dec 25, 2023 · 2 comments
Open

deployment issues on railway #2

thomas779 opened this issue Dec 25, 2023 · 2 comments

Comments

@thomas779
Copy link

thomas779 commented Dec 25, 2023

Re. railwayapp/nixpacks#1030 (comment)

Pinging @amorriscode

@imadbz
Copy link

imadbz commented Jan 23, 2024

+1
would love to see someone help us here

@JakeCooper
Copy link

Was able to fix it simply by just adding the binaryTargets line

// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x"]
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model User {
  id    String  @id
  email String  @unique
  name  String?
}

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

3 participants