-
Notifications
You must be signed in to change notification settings - Fork 31
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
Uncaught SyntaxError: The requested module '/node_modules/node-emoji/index.js?v=2bd32581' does not provide an export named 'default' #16
Comments
It's because Vite.js doesn't like old-fashioned CommonJS modules... |
Having also some problems with vite |
@motla also: I'm using 2.0.2 |
I'm sorry guys I've been a bit fast for the fix and forgot to change my local tests paths.... It worked on my computer though ^^ |
Still receiving The rest looks fine. |
Any chances of fixing this @motla? |
For now it seems |
Thanks! |
@motla Thank you! Perhaps it is time to migrate from CommonJS to ES Modules. |
@ckvv will update the dependency to support ESM format. In the meantime:
Originally posted by @ckvv in ckpack/vue-color#9 (comment) |
Fixed in v2.0.4 |
Damned. No there is another sub module which is faulty... |
Fixed in v2.0.5. Vite dev server seems to work fine now. Sorry for the delay. |
Hi @motla, I found the same issue happen in V1.5.0 (latest Vue2 release) |
@amaliaka Vue2 is now deprecated. I guess this lib still supports Vue2+Webpack but not Vue2+Vite. Can you describe your development environment? |
I am working on an old Vue2 project. Migrating Vue2 and Vue3 is not feasible for my current case. The project originally use Vue CLI + webpack but currently I try to migrate it to Vite due to some vulnerability issues |
@amaliaka the issue is that the Vue2 version of this library uses
|
I installed a new Vue 3 + Vite.js app and used the example from the README and it is giving me this error:
Here is my App.vue
and my package.json:
The text was updated successfully, but these errors were encountered: