-
Notifications
You must be signed in to change notification settings - Fork 875
Closed
Labels
type/docsDocumentation creation, updates or correctionsDocumentation creation, updates or corrections
Description
/content/100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/250-querying-the-database-typescript-postgresql.mdx (link)
Shouldn't the PrismaClient import be import { PrismaClient } from './generated/prisma', and not import { PrismaClient } from '@prisma/client'?
Following the guide I get the error:
Module '"@prisma/client"' has no exported member 'PrismaClient'in VS Code.error: Cannot find module '.prisma/client/default' from ...in the terminal.
This is after making sure to run npx prisma generate.
This would apply for the other pages that are not TypeScript.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/docsDocumentation creation, updates or correctionsDocumentation creation, updates or corrections