Skip to content

NodeJs: Highlight error in Prisma ORM's get started guide's client generator code #30438

@RaihanSharif

Description

@RaihanSharif

Checks

Describe your suggestion

If you use the JavaScript/PostgreSQL option in the get started guide on the prisma ORM website, the guide overlooks a small detail in the prisma.schema file, which causes an error.

generator client {
  provider = "prisma-client"
  output   = "../generated/prisma"
}

Should be:

generator client {
  provider = "prisma-client-js"
  output   = "../generated/prisma"
}

We should put one of those little info sections in there to highlight this.

See below link for the issue on the Prisma repo:
prisma/docs#7315

Path

Node / JS

Lesson Url

https://www.theodinproject.com/lessons/nodejs-prisma-orm

(Optional) Discord Name

No response

(Optional) Additional Comments

The issue on the Prisma repo is only 3 weeks old and still open. So maybe they'll fix it soon?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions