Skip to content
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

Broken for Vue3 #58

Open
wcheek opened this issue Jun 27, 2022 · 1 comment
Open

Broken for Vue3 #58

wcheek opened this issue Jun 27, 2022 · 1 comment

Comments

@wcheek
Copy link

wcheek commented Jun 27, 2022

I'm getting the following error when trying to use this component in a Vue 3 app.

✘ [ERROR] No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "default"                                                                                                                                                                [80/1097]                                                                                                                                                                                                                                                                                    node_modules/vue-json-component/dist/index.module.js:2:7:
      2 │ import Vue from 'vue';                

11:48:01 AM [vite] error while updating dependencies:Error: Build failed with 1 error:                                                                                                                                                                                                                                               node_modules/vue-json-component/dist/index.module.js:2:7: ERROR: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "default"                                                                                                                      at failureErrorWithLog (/mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:1605:15)                                                                                                                                                                at /mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:1251:28
    at runOnEndCallbacks (/mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:1034:63)
    at buildResponseToResult (/mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:1249:7)
    at /mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:1358:14
    at /mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:666:9
    at handleIncomingPacket (/mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:763:9)
    at Socket.readFromStdout (/mnt/d/.../vue_7/node_modules/esbuild/lib/main.js:632:7)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12) 
@Metsavend
Copy link

its now working on vue 3 (https://github.com/Metsavend/vue-json-component-vue-3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants