[Bug] cannot render chart on nextjs using turbopack
Open
@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
- create a nextjs app using turbopack
- import vchart and call renderAsync
Current Behavior
react-vchart和vchart均会报同样的错误:
换用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打包也有相同的问题:
Expected Behavior
正常渲染图表
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.