Open auctumnus opened 1 month ago
Hey there
I also got the same issue but using Archlinux
It launched fine at first but after some time (I can't understand how) it started to take like 294893.35ms
to setup
Here is the output
> nuxt dev
Nuxt 3.13.2 with Nitro 2.9.7 2:17:06 PM
2:17:08 PM
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
ℹ Using default Tailwind CSS file nuxt:tailwindcss 2:17:14 PM
✔ Prisma CLI is already installed. 2:18:30 PM
✔ Prisma schema file exists. 2:18:30 PM
✔ Database migrations folder exists. 2:18:30 PM
2:18:30 PM
Not migrating the database.
Generating Prisma client...
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (v5.20.0) to ./node_modules/@prisma/client in 135ms
✔ Do you want to view and edit your data by installing Prisma Studio in Nuxt DevTools? … yes
Starting Prisma Studio... 2:21:30 PM
✔ Prisma Studio installed. 2:21:30 PM
After clicking Get Started in Nuxt DevTools, click on the three dots (︙) in the lower left-hand side to reveal additional tabs.
Locate the Prisma logo to open Prisma Studio.
WARN Slow module @prisma/nuxt took 294893.35ms to setup. 2:21:30 PM
➜ DevTools: press Shift + Alt + D in the browser (v1.4.2)
Hey there @auctumnus , can you set the export variable and see which step is taking up most of your time? Also the same @Dzyanino.
Hi!
I tried to set up Prisma with Nuxt, but it appears to cause
nuxt dev
to be abysmally slow, even if it's not actually enabled as a module.Fresh Nuxt project (808ms):
With
"@prisma/nuxt": "^0.0.35"
independencies
and"@prisma/client": "^5.19.1", "prisma": "^5.19.1"
indevDependencies
(100203 ms, or nearly 2 minutes):This is the
flake.nix
I'm using in both:Is there anything else I can do to help debug this issue?