electricitymaps-contrib icon indicating copy to clipboard operation
electricitymaps-contrib copied to clipboard

Error message: TypeError: error loading dynamically imported module: https://app.electricitymaps.com/assets/MapWrapper-50dce7e7.js

Open shane-kerr opened this issue 1 year ago • 4 comments

Describe the bug

Web page reports an error.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://app.electricitymaps.com/zone/NL'
  2. Change to another tab
  3. Change back to tab with electricitymaps
  4. See error

Oh no, something went wrong...

Please let us know on Github so we can fix this

Error message: TypeError: error loading dynamically imported module: https://app.electricitymaps.com/assets/MapWrapper-50dce7e7.js Url: https://app.electricitymaps.com/zone/NL

Expected behavior A lovely view of the shameful carbon output of the Netherlands.

Screenshots image

Desktop (if relevant):

  • OS: Ubuntu 23.04
  • Browser: Firefox
  • Version: 118.0 (Canonical Snap)

Additional context The tab was not viewed for a few hours. I have seen this error before, but only now felt guilty enough to report it as requested.

shane-kerr avatar Oct 17 '23 21:10 shane-kerr

This error is not trivially reproducible. I love the electricity maps and keep them open almost all the time, and only have seen this error a few times over the past several weeks.

shane-kerr avatar Oct 17 '23 21:10 shane-kerr

Just wanted to let you know we haven't forgotten about this!

We are working a bit around the modules and code that is part of this so we will monitor the situation after those parts have been merged.

VIKTORVAV99 avatar Nov 10 '23 21:11 VIKTORVAV99

I just got a similar error:

Error message: TypeError: error loading dynamically imported module: https://app.electricitymaps.com/assets/ZoneDetails-3c3c20cf.js Url: https://app.electricitymaps.com/zone/NL

So it's still an issue. :smile:

shane-kerr avatar May 15 '24 07:05 shane-kerr

It seems to be an issue that more or less only happens when we push an update with new assets and we have a plan that will hopefully fix it.

VIKTORVAV99 avatar May 15 '24 07:05 VIKTORVAV99