-
Notifications
You must be signed in to change notification settings - Fork 266
Bug: test throws when using resolve.mainFields: module in vitest with Invalid VNode type: Symbol(Fragment)
#1875
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
Hi @liujiayi666 Can you provide us a small repro online using https://stackblitz.com/edit/vitest-dev-vitest-qoiwy3?file=package.json&initialPath=__vitest__ ? |
Hi,@cexbrayat, I added |
If you use See vuejs/core#2600 I don't think we can do much about this. What are you trying to achieve with As you can see in the issue I linked, this comment vuejs/core#2064 (comment) mentions that you can dedupe Vue. You can try that if you want to keep |
Invalid VNode type: Symbol(Fragment)
@cexbrayat I need to use a Private repository, but got error |
Describe the bug
can't get v-for elements and got warn!!
[Vue warn]: Invalid VNode type: Symbol(Fragment) (symbol) at <XXXPage ref="VTU_COMPONENT" > at <VTUROOT> [Vue warn]: Invalid VNode type: Symbol(Fragment) (symbol) at <XXX ref="VTU_COMPONENT" > at <VTUROOT>
To Reproduce
Expected behavior
Related information:
@vue/test-utils
version: 2.x.xVue
version: 3.2.37vitest
version: 0.24.5@vue/test-utils
version: 2.2.1node
version: v16.15.1npm
(oryarn
) version:8.11.0Additional context
The text was updated successfully, but these errors were encountered: