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' #4323

Closed
tcastelly opened this issue Aug 12, 2021 · 3 comments

Comments

@tcastelly
Copy link

Version

3.2.2

Reproduction link

https://github.com/shenron/vite-demo/tree/sfc-issue

Steps to reproduce

  • npm ci
  • npm run dev

What is expected?

Just working

What is actually happening?

After launch the application in the browser I can see this error:

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

The bug appear after @vue/compiler-sfc@3.1.5 release.

@posva
Copy link
Member

posva commented Aug 12, 2021

Temporary solution at vitejs/vite#4573 (comment)

@tcastelly
Copy link
Author

tcastelly commented Aug 12, 2021

@posva
Thank you.

Duplicate of
vitejs/vite#4573

@guozhenqianga
Copy link

vitejs/vite#4573 的临时解决方案(评论)

How to solve vue2

@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@posva @guozhenqianga @tcastelly and others