Skip to content

Prisma ORM Turbopack warning resolved in Next.js > 15.2.2 #6834

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

Merged
merged 5 commits into from
May 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions content/800-guides/090-nextjs.mdx
Original file line number Diff line number Diff line change
@@ -225,6 +225,26 @@ Now, tell Prisma how to run this script by updating your `package.json`:
}
```


:::warning

Before starting the development server, note that if you are using Next.js v15.2.0 or v15.2.1, do not use Turbopack as there is a known [issue](https://github.com/vercel/next.js/issues/76497). Remove Turbopack from your dev script by updating your `package.json`
```json file=package.json
"script":{
//delete-start
"dev": "next dev --turbopack",
//delete-end
//add-start
"dev": "next dev",
//add-end
}
```
This change is not needed on any versions before or after.

:::

Finally, run `prisma db seed` to seed your database with the initial data we defined in the `seed.ts` file.

Run the seed script:

```terminal