You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the pinia.iife.js 3.0.1 now gives the error: "Uncaught ReferenceError: devtoolsApi is not defined"
no error with 3.0.0, probably related to #2910 fix
Expected behavior
no error, and working devtools with the no prod version
Actual behavior
error using the iife.js, and no devtools using the iife.prod.js
Additional information
No response
The text was updated successfully, but these errors were encountered:
The devtools API has indeed been removed from the iifee given the considerable size increase. It has to be included manually. This should be added to docs (migration guide) and to the changelog.
I understand, but I haven't found how to include it manually in iife. I just see a cjs and a esm version in node_modules/@vue/devtools-api/lib/
Perhaps this lib should be included in the dev version (iife.js), and not in iife.prod.js, I suspect it was like that in 3.0.0, and I don't see a problem having a big dev file
I'm having the similar issue, isn't it related? I'm migrating from 2.3.1 to 3.0.1. And I'm not using any devtools related APIs at all, also even disabled devtools in my browser to check with no success.
Uncaught TypeError: Cannot create proxy with a non-object as target or handler
at node_modules/@vue/devtools-kit/dist/index.js (index_f240.0be6a908.js:2088:34)
at ModuleSystem.require (07032025/:395:26)
at node_modules/pinia/node_modules/@vue/devtools-api/dist/index.js (index_f290.b725f0c7.js:2054:27)
at ModuleSystem.require (07032025/:395:26)
at node_modules/pinia/dist/pinia.mjs (index_acf3.09fbed4d.js:927:27)
at ModuleSystem.require (07032025/:395:26)
at src/store.ts (router.tsx:26:1)
at ModuleSystem.require (07032025/:395:26)
at src/styles.ts (store.ts:21:1)
at ModuleSystem.require (07032025/:395:26)
Reproduction
https://jsfiddle.net/0sj7apb6/
Steps to reproduce the bug
Using the pinia.iife.js 3.0.1 now gives the error: "Uncaught ReferenceError: devtoolsApi is not defined"
no error with 3.0.0, probably related to #2910 fix
Expected behavior
no error, and working devtools with the no prod version
Actual behavior
error using the iife.js, and no devtools using the iife.prod.js
Additional information
No response
The text was updated successfully, but these errors were encountered: