-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Error on npm run serve for default 3.x template #6562
Comments
I also have same situation in this morning. |
Same here, The issue only seems to affect the vue 3 template. The Vue 2 template works fine |
Same too. I stuck on this, and could not start a new project. I think I should roll back to 2.x temporarily😅 |
Same to |
Ya, I've been looking up how to compile, bundle, and run Vue 3.x but not having any luck as a newb to Vue. Feel like I'm spending too much time trying to resolve that issue compared to moving back to 2.x temporarily. Just don't want to have to relearn and rewrite bunch in order to move back up to 3.x (this is for work and will need to be in 3.x when PR is submitted). Not to mention, the tutorial(s) I've been following have all been for 3.x so I'm going to have to dig back for 2.x tutorials now. I'll give 2.x a shot. Thanks for the replies and support to get this issue moving everyone. |
|
I rollback the version of Vue,And It Worked |
@sun948534670 what is Vue last version, My vue cli version is 4.5.13 |
What's your Vue version? (Not the vue-cli Version) |
@minikiller Maybe we should update the version of the package vue instead of vue-cli. |
@sun948534670 The version of Vue is 3.0.0 when created by latest vue-cli. |
都是国人用中国话吧。我今天早晨把Vue版本升级到了3.1.3然后出现了这个问题。然后我尝试回滚了我的Vue版本到3.1.2然后就可以正常编译了 |
Thanks for the workaround! Not sure why I didn't think of that. |
@sun948534670 主要是为了让外国人能看懂😅我早上起来新建了个项目,结果运行不了,用新版脚手架创建的项目默认的Vue版本是3.0.0,我试了一下,3.1.2可以,3.1.3又不行了。不排除是新版本有什么奇怪的改动。 |
用3.1.2吧~ |
确实,谢谢。另外请忽略我上一条消息,我最近有点星际玩家的意思😅 |
Had similar problem, and doing these commands fixed the issue. |
Workaround: // vue.config.js
module.exports = {
transpileDependencies: ['@vue/reactivity']
} |
Version
4.5.13
Reproduction link
https://github.com/MatthewCushing/vue-issue-reproduction/tree/master/starter-project-issue
Environment info
Steps to reproduce
vue create starter-project
cd starter-project
npm run serve
What is expected?
To be able to run the default template without modifying anything.
What is actually happening?
I receive this error:
If I manually create project and give it the addition of TypeScript, it works fine. Without TypeScript, it results in this error.
EDIT: This now happens with all options with TypeScript as well. Not sure if something changed in the last 2 hours?
The text was updated successfully, but these errors were encountered: