I have a React project that is developed in two branches A and B. The origin of any of them goes way back. Branch A and B worked fine in my computer (development computer). At some point, branch B stop working giving error loading dynamically imported module as shown in the image below
The web app has a login screen that works fine. Once logged in, it shows that error. The module file mentioned in the image is in public\assets\DashboardLayout-DFVV8xbz.js (path copied from VS Code)
I had to merge B into A to continue developing and, as expected, the error still happens. Said merge added FCM (Firebase Cloud Messaging) to the project in branch B. Branch A used MQTT for event notification. In both branches, before and after the merge this error only shows in my computer, I've tried starting the app in my personal computer and in a fresh Ubuntu installation and it works fine.
I could have done some config in my development computer (since it's development) and this could be causing this error, so basically I'm asking for ideas of configs to check and discard.
The edited domain in the image is an IP and a port, like 192.168.1.69:1234

gitquestion. The fact that by playing tricks with git branches the problem shows up its ugly head I bet is not related to git in any way.... You should do some old fashioned debugging/tracing to see what is going on.