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

not working with vue3 #382

Open
RHRiday opened this issue Oct 21, 2022 · 4 comments
Open

not working with vue3 #382

RHRiday opened this issue Oct 21, 2022 · 4 comments

Comments

@RHRiday
Copy link

RHRiday commented Oct 21, 2022

Displays the following error on npm run dev command

X [ERROR] No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "default"

    node_modules/vue-trix/dist/vue-trix.esm.js:1:7:
      1 │ import Vue from 'vue';
        ╵        ~~~

E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:1566
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 1 error:
node_modules/vue-trix/dist/vue-trix.esm.js:1:7: ERROR: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "default"
    at failureErrorWithLog (E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:1566:15)
    at E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:1024:28
    at runOnEndCallbacks (E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:1438:61)
    at buildResponseToResult (E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:1022:7)
    at E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:1134:14
    at responseCallbacks.<computed> (E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:671:9)
    at handleIncomingPacket (E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:726:9)
    at Socket.readFromStdout (E:\Web practice\resume-builder\node_modules\esbuild\lib\main.js:647:7)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12) {
  errors: [
    {
      detail: undefined,
      id: '',
      location: {
        column: 7,
        file: 'node_modules/vue-trix/dist/vue-trix.esm.js',
        length: 3,
        line: 1,
        lineText: "import Vue from 'vue';",
        namespace: '',
        suggestion: ''
      },
      notes: [],
      pluginName: '',
      text: 'No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "default"'
    }
  ],
  warnings: []
}
@ycrepeau
Copy link

Same error for me (6 months later)

@knubbe82
Copy link

Same error

@caspii
Copy link

caspii commented Oct 11, 2023

Same error. Is this project dead?

@hanhdt
Copy link
Owner

hanhdt commented Oct 13, 2023

@caspii Sorry, I have been busy recently so don't have time to take a look at the Vue3 support.
I believe that Vue3 has another mechanism for exporting the module.

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

5 participants