The error is from a bad service worker and to remove the problem we advise unregistering service workers. To do that, you can:
- Open the dev console
- Go to Application
- Select Storage
- Make sure ‘Unregister service workers’ is selected
- Click ‘Clear site data’ and then refresh the screen (possibly hard refresh with cmd + Shift + R).
Here is a video to help with that: