-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got Cannot read properties of undefined error #18
Comments
please, show your Package.json version of (vue and relative libs) |
你好慢。 |
Your project is a vue normal project, not vite, for It, use a normal import, like "import JsonEditor from "vue3-json-editor", not need import "esm.prod" version. |
I have similar issue with normal import:
Error:
My dependencies:
|
When i set expandedOnStart to false, the error no longer appears but the editor disappears and when I inspect my html I just have this : |
i have got the same error |
I got the same erorr, and update on the issue? |
I got error as below, pls help to check, thanks.
<Vue3JsonEditor
v-model="modelData"
mode="code"
@json-change="onJsonChange"
lang="zh"
:show-btns="false"
:expandedOnStart="false"
/>
vue3-json-editor.esm.prod.js?c45b:31 Could not load worker TypeError: Cannot read properties of undefined (reading 'Blob')
at eval (vue3-json-editor.esm.prod.js?c45b:31:1)
at Object.eval (vue3-json-editor.esm.prod.js?c45b:31:1)
at Object.eval (vue3-json-editor.esm.prod.js?c45b:31:1)
at i (vue3-json-editor.esm.prod.js?c45b:31:1)
at new l (vue3-json-editor.esm.prod.js?c45b:31:1)
at h.createWorker (vue3-json-editor.esm.prod.js?c45b:31:1)
at u.ace.define.$startWorker (vue3-json-editor.esm.prod.js?c45b:31:1)
at u.ace.define.$onChangeMode (vue3-json-editor.esm.prod.js?c45b:31:1)
at u.eval (vue3-json-editor.esm.prod.js?c45b:31:1)
at l.ace.define.t.loadModule (vue3-json-editor.esm.prod.js?c45b:31:1)
The text was updated successfully, but these errors were encountered: