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

'/node_modules/.vite/vue.js?v=' does not provide an export named 'createElementBlock' #24

Open
ambitionly opened this issue Sep 7, 2021 · 1 comment

Comments

@ambitionly
Copy link

'/node_modules/.vite/vue.js?v=' does not provide an export named 'createElementBlock'

@hungryquiter
Copy link

原因是@vue/compiler-sfc版本升级到3.2.x最新版本后,与3.1.5版本的vue不匹配, npm install @vue/compiler-sfc@3.1.5, 使vue和@vue/compiler-sfc都为3.1.5版本即可消除error。如果想更新到最新版vue3,npm install vue@next。但是如果使用了element-plus当前最新版本1.0.2-beta.70依然依赖vue@3.1.x版本,更新会报错,暂不建议更新。
————————————————
版权声明:本文为CSDN博主「莫得感情学习机1号」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Alloom/article/details/119642604

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

2 participants