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

Vite + Vue2 and [email protected] #17

Open
ocomsoft opened this issue Dec 21, 2021 · 1 comment
Open

Vite + Vue2 and [email protected] #17

ocomsoft opened this issue Dec 21, 2021 · 1 comment

Comments

@ocomsoft
Copy link

I am trying to upgrade my Vue2 (not Vue3) to use Vite and when I load the project using [email protected] and [email protected] I get the following error in the console in Chrome Dev tools.

Uncaught SyntaxError: The requested module '/static/node_modules/vue-easymde/node_modules/easymde/src/js/easymde.js?v=2cdb057b' does not provide an export named 'default'

I am not sure how to 'fix' this -seem vite is more stricter than webpack and vue-cli.
I tried going to [email protected] and 2.0.0 and no difference,

@ocomsoft
Copy link
Author

Ok on further investigation I think I found the problem. Seems easymde is not a module (or doesn't have anything exported)
Ionaru/easy-markdown-editor#262

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

1 participant