Skip to content

Commit 96dbe37

Browse files
lukdev371aidankmcalistermhessdev
authored
Prisma ORM Turbopack warning resolved in Next.js > 15.2.2 (#6834)
* Update 090-nextjs.mdx * Update 090-nextjs.mdx * Update 090-nextjs.mdx --------- Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> Co-authored-by: Marc Hess <marc@marchess.dev>
1 parent ff657d0 commit 96dbe37

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

content/800-guides/090-nextjs.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,26 @@ Now, tell Prisma how to run this script by updating your `package.json`:
225225
}
226226
```
227227

228+
229+
:::warning
230+
231+
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`
232+
```json file=package.json
233+
"script":{
234+
//delete-start
235+
"dev": "next dev --turbopack",
236+
//delete-end
237+
//add-start
238+
"dev": "next dev",
239+
//add-end
240+
}
241+
```
242+
This change is not needed on any versions before or after.
243+
244+
:::
245+
246+
Finally, run `prisma db seed` to seed your database with the initial data we defined in the `seed.ts` file.
247+
228248
Run the seed script:
229249

230250
```terminal

0 commit comments

Comments
 (0)