-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Vue 3.1.3 doesn't build with Vue CLI 4 #4052
Comments
I think this only affects vue-cli-4. I have upgraded to vue-3.1.3 in the context of vue-cli-5.beta successfully. |
same problem here, |
Seems like the same issue reported against the CLI repo: vuejs/vue-cli#6562 |
!same problem |
Caused by a TypeScript version bump. Workaround: // vue.config.js
module.exports = {
transpileDependencies: ['@vue/reactivity']
} |
Resolved by locking Vue version to 3.1.2 |
学习了!!!感谢!!!! |
It works, and no need to lock Vue version to 3.1.2. |
runtime-core.esm-bundler.js?d2dd:40 [Vue warn]: Failed to resolve component: router-link I have a problem How do I solution this problem? |
Version
3.1.3
Reproduction link
Just create a fresh project with Vue CLI 4.5.13 and the default Vue 3 preset.
Steps to reproduce
Multiple people have reported on Discord that creating a fresh project with Vue CLI 4.5.13 and Vue 3.1.3 fails. I have confirmed it myself. Rolling back to Vue 3.1.2 works fine.
vue create blah cd blah yarn serve
Yields error:
It seems the
dist
folders for 3.1.3 contain newer syntax that Vue CLI can't handle.The text was updated successfully, but these errors were encountered: