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.

TypeError: Failed to construct 'URL': Please use the 'new' operator

See original GitHub issue
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When i browse material-ui.com i get error “An unexpected error has occurred”.

Expected Behavior 🤔

When i browse material-ui.com i don’t get error “An unexpected error has occurred”.

Steps to Reproduce 🕹

I don’t have concrete steps to reproduce. It happens seemingly at random when I am navigating the website.

Context 🔦

I am trying to browse the documentation. It makes browsing the documentation unpleasant.

Your Environment 🌎

$ uname -a
Linux monika 5.11.17-300.fc34.x86_64 #1 SMP Wed Apr 28 14:21:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ google-chrome --version
Google Chrome 90.0.4430.93 

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
oliviertassinaricommented, May 5, 2021
2reactions
Darkmiftcommented, May 4, 2021

Screenshot 2021-05-04 225203

Hope this helps. Issue persist when trying to navigate back to previous pages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to construct 'URL': Please use the 'new' operator, this ...
TypeError : Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function · Ask...
Read more >
Please use the 'new' operator, this DOM object constructor. #424
I am getting this error when trying to load an image, I am currently trying to us useImage but also failed when trying...
Read more >
Failed to construct 'URL': Please use the 'new' operator, this ...
[Solved]-TypeError: Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function-Reactjs.
Read more >
Locker Service: JavaScript Image throws "Please use the 'new ...
Locker Service: JavaScript Image throws "Please use the 'new' operator, this DOM object constructor cannot be called as a function" error.
Read more >
Next.js, how to fix the error `Constructor requires 'new' operator`
I got this error while working with Next.js: TypeError: Constructor requires 'new' operator. Turns out I used the <Image /> component ...
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