VisActor / VisActor/VChart

[Bug] cannot render chart on nextjs using turbopack

Open
#4,206 0 comments 0 reactions 1 assignee View on GitHub

@xuefei1313 is already working on this.

Since Oct 15, 2025.

bug react-vchart
Dominant language
TypeScript
Stars
1.8k
Forks
221
Avg merge
1d 6h
Merged PRs (30d)
26

Description

Version

2.0.5

Link to Minimal Reproduction

null

Steps to Reproduce
  1. create a nextjs app using turbopack
  2. import vchart and call renderAsync
Current Behavior

react-vchart和vchart均会报同样的错误:
Image
换用webpack打包可以解决,但是webpack太慢了,且nextjs官方默认是turbopack打包
之前在VTable也有类似的问题:https://github.com/VisActor/VRender/issues/1827
有人提供过nextjs vchart template:https://github.com/mengxi-ream/visactor-next-template?tab=readme-ov-file

但是换用turbopack打包也有相同的问题:

Image Image
Expected Behavior

正常渲染图表

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.