prisma / studio

🎙️ The easiest way to explore and manipulate your data in all of your Prisma projects.
https://www.prisma.io/studio
1.87k stars 47 forks source link

Error Opening the Prisma Studio #1017

Open juncos22 opened 2 years ago

juncos22 commented 2 years ago

Bug description

When I open the prisma studio with the command 'npx prisma studio' it starts but then shows me an error which isn't too clear to notice me. Screenshot (6) Screenshot (7)

How to reproduce

  1. Go to some nextjs project console in visual studio code
  2. Execute the command 'npx prisma studio'
  3. See error

Expected behavior

You should see the error above.

Prisma information

prisma : 4.3.1 @prisma/client : 4.3.1 Current platform : windows Query Engine (Node-API) : libquery-engine c875e43600dfe042452e0b868f7a48b817b9640b (at node_modules\@prisma\engines\query_engine-windows.dll.node) Migration Engine : migration-engine-cli c875e43600dfe042452e0b868f7a48b817b9640b (at node_modules\@prisma\engines\migration-engine-windows.exe) Introspection Engine : introspection-core c875e43600dfe042452e0b868f7a48b817b9640b (at node_modules\@prisma\engines\introspection-engine-windows.exe) Format Binary : prisma-fmt c875e43600dfe042452e0b868f7a48b817b9640b (at node_modules\@prisma\engines\prisma-fmt-windows.exe) Format Wasm : @prisma/prisma-fmt-wasm 4.3.0-32.c875e43600dfe042452e0b868f7a48b817b9640b Default Engines Hash : c875e43600dfe042452e0b868f7a48b817b9640b Studio : 0.473.0 Preview Features : referentialIntegrity

Environment & setup

Prisma logs

Unable to init PersistenceStore undefined

benJephunneh commented 2 years ago

Similar behavior, here, different error: image

Prisma 4.3.1 Win 10 Vivaldi browser SQLite

janpio commented 2 years ago

On Invalid String length @benJephunneh: https://github.com/prisma/studio/issues/895#issuecomment-1083051249

benJephunneh commented 2 years ago

Fantastic! Thanks, @janpio .