We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some environments have Navigator as an empty object even on the server.
Node JS v21 has navigator defined as an empty object.
This causes libraries like echarts to be incompatible with ssr and crash.
echarts
The problem is line 35 in zrender/lib/core/env.js
35
zrender/lib/core/env.js
else if (typeof navigator === 'undefined')
Should ideally be:
else if (typeof window === 'undefined')
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Some environments have Navigator as an empty object even on the server.
Node JS v21 has navigator defined as an empty object.
This causes libraries like
echarts
to be incompatible with ssr and crash.The problem is line
35
inzrender/lib/core/env.js
Should ideally be:
The text was updated successfully, but these errors were encountered: