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.

Crashing entire app on IE and Edge

See original GitHub issue

Describe the bug When project is opened in IE11 or Edge it’s freezing on loading page. The error is at eval('BrowserCodeReader ...') It happens only if ZXingScannerModule.forRoot() was called. There is n way to even put a try catch there, because eval is happening in vendor, and even conditionally calling forRoot() is causing the issue e.g.

if(!isIEorEdge) {
      imports.push(ZXingScannerModule.forRoot())
}

To Reproduce Steps to reproduce the behavior:

  1. Open project with plugin in IE11 or Edge

Expected behavior Throw an error that can be handled or show warning.

Desktop (please complete the following information):

  • OS: Windows
  • Browser IE-11 and Edge
  • Version any

Smartphone (please complete the following information):

  • Probably windows phone will cause the same, not tested

Additional context I know that this plugin is not supporting Edge and IE, but issue is not about support it’s about crashing entire app.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:34 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
odahcamcommented, Jun 7, 2018

Everyone makes mistakes, even ninjas. 🐱‍👤 (ninjacat Windows’s emoji)

2reactions
devgrigorcommented, Jun 1, 2018

I tested 1.1.1-dev.ca33ea version and it worked on IE. Thanks for that. @Danieliverant just don’t forget to add import 'core-js/es6/typed'; at polyfills

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edge crashes when opening an external link while playing full ...
If you open Edge in windowed mode, i.e. not in full screen. Then open a video and play it full screen (for example...
Read more >
9 Fixes When Microsoft Edge Keeps Crashing - Help Desk Geek
As noted above, a corrupted cache can cause Microsoft Edge to crash. Here's how to clear your cache. Open Microsoft Edge. Click on...
Read more >
How to Fix Microsoft Edge Keeps Crashing? - BrowserHow
We can fix the crashing issue by clearing the browsing data, disabling the browser extensions, or killing the unwanted processes from the task ......
Read more >
Microsoft Edge Keeps Crashing on Windows 10/11? 4 Easy Tips
If Microsoft Edge crashes when you launch it, rest assured as we've got four solutions for you to implement and fix the error....
Read more >
Common Microsoft Edge Problems, and How to Fix Them
A recent app or program you downloaded could be causing problems. Run the Windows app troubleshooter or try uninstalling the last apps you ......
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