-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Failed generator invoking #3309
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
Comments
That's probably because Esprima only supports ES6, and dynamic imports are still a stage 3 proposal. In other words: users could safely edit main.js as long as they don't use dynamic imports. Not as bad, but bad enough. :/ |
(Maybe) related: #3335 . |
@lbogdan I think that issue is unrelated. Esprima shouldn't be involved in the webpack compilation. Also that error is fixed by installing with yarn instead of npm, which means with npm we have some dependency resolving mismatch. |
I encountered this error adding the vue-i18n plugin to an existing project in which |
Uh oh!
There was an error while loading. Please reload this page.
Version
3.3.0
Reproduction link
https://no.link
Environment info
Steps to reproduce
vue create repro1
withdefault (babel, eslint)
cd repro1
src/main.js
vue add vuex
What is expected?
vuex should be possible install.
What is actually happening?
esprima error occurred as following.
The same issue occurs with
vue add router
as well.Related issues
intlify/vue-cli-plugin-i18n#32
We should be added notice to documentation, due to I think
main.(js|ts)
should not be edited by user.The text was updated successfully, but these errors were encountered: