0

Please or Register to create posts and topics.

Pro - HMR Causes Chrome to Crash

I'm not really sure what causes it, but sometimes the app gets stuck in a state where if you do a save and HMR reloads, as soon as the reload finishes, chrome crashes.

So in the Developer Tools log, I see no errors:

[HMR] connected
[HMR] bundle rebuilding
[HMR] bundle rebuilt in 4878ms
[HMR] Checking for updates on the server...
[HMR] Updated modules:

long list of modules.....

[HMR] - ./ClientApp/app/services/notification.service.ts
[HMR] - ./ClientApp/app/components/controls/statistics-demo.component.ts
[HMR] App is up to date.

 

Followed directly by the "Aw, Snap! Something went wrong while displaying this webpage." in the browser window.  Not really sure why.  I know for certain that it seemed to happen 100% of the time when i update en.json, but it also frequently happens in other places too.

I updated the en.json  as suggested and couldn't reproduce the crash.

Could this be caused by some extensions or a corrupted cache?

Try a test in incognito mode to see if it crashes. Make sure no extensions are loaded in the incognito mode to rule out extensions.

You can also clear your browser cache, test with a new chrome user profile, or resetting your browser settings where possible.

The below link will help you troubleshoot chrome crashes: https://support.google.com/chrome/a/answer/6271277?hl=en