discord-message-components icon indicating copy to clipboard operation
discord-message-components copied to clipboard

Cannot use import statement outside a module

Open Lianecx opened this issue 2 years ago • 1 comments

The vue package seems to be using esm imports/exports without having "type": "module" specified in their package.json

Note: I am receiving this error when compiling my vuepress v2 project with vite (not when running the dev server though 🤔) Editing the package.json inside the node_modules to include the above field, resolves the error.

Lianecx avatar Feb 22 '23 18:02 Lianecx

Any solutions?

OFFchase avatar Jul 10 '23 19:07 OFFchase