Skip to content

I build a express app with prisma, and upload to cpanel hosting, then run this command: #16858

@walidboulanouar

Description

@walidboulanouar
  I build a express app with prisma, and upload to cpanel hosting, then run this command: 

npx prisma migrate dev
npx prisma migrate deploy
npx prisma generate

and get this same error
Screen Shot 2022-02-07 at 11 16 43

my schema.prisma file:

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

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

prisma version:

"prisma": "^3.9.1"
"@prisma/client": "^3.9.1"

how to fix this?

Originally posted by @royhanreza in #11667

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/0-unknownBug is new, does not have information for reproduction or reproduction could not be confirmed.kind/bugA reported bug.topic: ENOENT

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions