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.

The latest version does not work on Chrome

See original GitHub issue

The following error is thrown when I initialize a new Gantt

Invalid argument passed for element at Gantt.setup_wrapper (frappe-gantt.js:948) at new Gantt (frappe-gantt.js:934)

Error caused by the following code if (!(element instanceof HTMLElement)) { throw new Error('Invalid argument passed for element'); }

The element parameter was a svg element and certainly it is an instance of SVGElement however library just accepts an instance of HTMLElement. Anyone else encounter this error also?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
LinhTran1commented, Jun 28, 2018

I tried with div element however not successful. Nothing was rendered

1reaction
Adioudcommented, Jun 28, 2018

I had this error: since the new version you just have to give a “div” as parameter, not an svg. The sample page is out of date.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Chrome update problems & failed updates - Google Support
Fix Chrome update problems & failed updates · Download Chrome again · Review antivirus, firewall, or parental control settings · Reboot your computer...
Read more >
Why I Can't Update Google Chrome? How To Fix It
Right-click on Google Chrome. Click on Properties. In the new window, click on Compatibility. Now, it's important to make the box that says...
Read more >
7 Ways to Fix Google Chrome Update Failing Issue - WebNots
How to Fix Google Chrome Update Problems? · 1. Try Manual Update · 2. Ensure You Haven't Disabled Auto Update · 3. Check...
Read more >
Fix Google Chrome Won't Update on Windows 10/Mac/Android
Fix Google Chrome Won't Update on Windows 10/Mac – 6 Tips · Tip 1. Reinstall Chrome · Tip 2. Clear Chrome Cookies ·...
Read more >
Chrome browser won't update on Windows 11/10
Fix Chrome browser won't update on Windows 11/10 · 1] Restart your computer · 2] Check your Internet Connection · 3] Clear Chrome...
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