Open mikenikles opened 2 years ago
Thanks for the report. Let's see if someone else has the same problem with Chrome(ium) 100.
Consistently running into "Unable to init PersistenceStore" error (presented by dialog, in Studio), in Firefox.
This is no longer an issue for me with Chromium 101.0.4951.64. Given others reported the same issue with Firefox, I'm going to keep the issue open.
Can confirm having this issue with Chrome: 106.0.5249.61
however not getting this on Brave: Version 1.44.108 Chromium: 106.0.5249.103
or on Edge: Version 106.0.1370.37
. Weird maybe something chrome specific?
It works on Incognito on Chrome for me. I tried to see if it was any extensions but didn't seem to be.
Still an issue on FireFox (107.0.1)
Additional context, from browser log on FireFox:
[PersistenceStore.init] Unable to init PersistenceStore undefined [index.js:1:1750](https://server-dev-jf52kv5fsq-uw.a.run.app/admin/prisma/assets/index.js)
DOMException: A mutation operation was attempted on a database that did not allow mutations. [index.js:1:1781](https://server-dev-jf52kv5fsq-uw.a.run.app/admin/prisma/assets/index.js)
Object { path: "PersistenceStore.init", code: undefined, type: undefined, message: "Unable to init PersistenceStore", stack: undefined, context: null, nativeError: DOMException }
[index.js:1:84080](https://server-dev-jf52kv5fsq-uw.a.run.app/admin/prisma/assets/index.js)
[BootstrapStore.init] Studio bootstrap failed
Object { message: "Unable to init PersistenceStore", stack: undefined }
[index.js:1:1750](https://server-dev-jf52kv5fsq-uw.a.run.app/admin/prisma/assets/index.js)
Object { path: "PersistenceStore.init", code: undefined, type: undefined, message: "Unable to init PersistenceStore", stack: undefined, context: null, nativeError: DOMException }
[index.js:1:1781](https://server-dev-jf52kv5fsq-uw.a.run.app/admin/prisma/assets/index.js)
Uncaught (in promise)
Object { path: "BootstrapStore.init", code: undefined, type: undefined, message: "Studio bootstrap failed", stack: undefined, context: {…}, nativeError: {…} }
Yep! Same error on firefox. Using Cloudflare as a auth gateway for my database to keep it public. Y´all have a nice day!
I saw this same issue on Chrome (111.0.5563.65). The issue did not occur in incognito mode or using any other browser. This happened right after I made a significant database migration, so I assume it was related to some state stored in the browser. I cleared all browser cache and cookies then restarted my browser to fix it.
I had the same problem with Chrome. Works fine on Mozila.
I'm seeing the error on Chrome (versions / platform below). Oddly, Prisma Studio works in Incognito Mode
Platform | Version |
---|---|
Chrome | Version 112.0.5615.137 (Official Build) (arm64) |
MacOS | 13.3.1 (22E261) |
I'm getting this error with Brave even with all plugins disabled and shields down. However, It works using Google Chrome for me.
Work around that works for me:
Add to the package.json launchers "studio": "npx prisma studio --browser /usr/bin/google-chrome-stable"
I figured this out.. You need to allow ALL cookies from localhost and 127.0.0.1. For some reason just lowering the shields does not work
Prisma version (
prisma -v
ornpx prisma -v
):Logs from Developer Tools Console or Command line, if any:
Screenshot
Does the issue persist even after updating to the latest
prisma
CLI dev version? (npm i -D prisma@dev
) YesPrisma schema (if relevant): N/A
Additional notes
This started to happen to me as of today with Brave V1.37.109 (Mar 30, 2022).
Their changelog mentions an upgrade to Chromium 100.0.4896.60 (changelog).
The only reference to "indexed db" I found is a commit that reverts https://chromium-review.googlesource.com/c/chromium/src/+/3271759/.
Also worth mentioning, Studio works with Firefox.