prisma / nuxt-prisma

Prisma ORM integration for Nuxt
https://www.prisma.io/docs/orm/more/help-and-troubleshooting/help-articles/prisma-nuxt-module
29 stars 1 forks source link

Keep getting "Failed to install Prisma Client" when I run "pnpm run dev" #15

Open dogezhou opened 4 days ago

dogezhou commented 4 days ago

follow the guide https://www.prisma.io/docs/orm/more/help-and-troubleshooting/help-articles/prisma-nuxt-module but this error keeps

PS C:\Users\auser\Documents\codebase\test-nuxt-app> pnpm run dev

> nuxt-app@ dev C:\Users\auser\Documents\codebase\test-nuxt-app
> nuxt dev

Nuxt 3.12.2 with Nitro 2.9.6                                                                                  17:41:21
                                                                                                              17:41:23
  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

✔ Prisma CLI is already installed.                                                                           17:41:35
✔ Prisma schema file exists.                                                                                 17:41:35
✔ Database migrations folder exists.                                                                         17:41:36
                                                                                                              17:41:36
Not migrating the database.
Generating Prisma client...                                                                                   17:41:36

 ERROR  ✘ Failed to install Prisma Client.                                                                    17:41:54

                                                                                                              17:42:02
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma

✔ Generated Prisma Client (v5.16.0) to .\node_modules\.pnpm\@prisma+client@5.16.0_prisma@5.16.0\node_modules\@prisma\client in 61ms

? Do you want to view and edit your data by installing Prisma Studio in Nuxt DevTools? » (Y/n)
ankur-arch commented 3 days ago

Hey @dogezhou, thanks for reporting the issue.

Does your app work as expected despite the error?

Can you manually install the library and check if the error persists: pnpm i @prisma/client

Thanks 😄