apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

[Bug] Window Not Defined when using next #20475

Closed RahulShaik71 closed 2 weeks ago

RahulShaik71 commented 2 weeks ago

Version

5.4.2

Link to Minimal Reproduction

NA

Steps to Reproduce

usint next page router . node version : 23.0.0 . Just import echarts is throwing error

Current Behavior

error Error [ReferenceError]: window is not defined

Expected Behavior

No Error

Environment

- OS:MacOS
- Browser: chrome
- Framework: Next

Any additional comments?

No response