question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ReferenceError: zrUtil is not defined

See original GitHub issue

One-line summary [问题简述]

js 报错 某些android版本手机报错

[Vue warn]: Error in callback for watcher "options": "ReferenceError: zrUtil is not defined"

折线图无法正常显示

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 4.10
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]: vivo X6Plus L android 5.1 还有另一款手机忘记了叫什么型号,也是版本比较低的 公司也就几台测试机,两台报的相同的错误

Expected behaviour [期望结果]

4.10没这个问题的报错

我这里已经解决,

package.json

"echarts": "^4.0.4",

改为 package.json

"echarts": "4.0.4",

^去掉。把版本号锁死在4.0.4,^会升级小版本 重现装包 特意提issues,遇到相同问题有参考

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:11

github_iconTop GitHub Comments

1reaction
yuyichencommented, Jul 11, 2018

安卓5.1.1 echart 4.1 echart 为pie类型时报同样的错误

0reactions
github-actions[bot]commented, Apr 29, 2022

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReferenceError: zrUtil is not defined · Issue #8452 - GitHub
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest...
Read more >
Error in mounted hook: "ReferenceError: zrUtil is not defined
将let echarts = require('echarts/lib/echarts')修改成let echarts = require('echarts')即可。
Read more >
Node App - ReferenceError: uriUtil is not defined
You can replace this line: var mongooseUri = uriUtil.formatMongoose(mongodbUri);. Which this line: var mongooseUri =require('mongodb-uri').
Read more >
[Vue warn]: Error in mounted hook: "ReferenceError: zrUtil is ...
我们在vue开发过程中,经常会遇到Error in v-on handler: “ReferenceError: * * is not defined” 这是因为我们在开发过程中,items未定义,或者相应的组件还没有导入,...
Read more >
org.apache.echarts.commits - 2019 December - 1,127 ... - MarkMail
[GitHub] [incubator-echarts] pissang opened a new issue #11788: Set emphasis ... commented on issue #8452: ReferenceError: zrUtil is not defined - GitBox.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found