Page fails to load locally with ReactCurrentDispatcher error — only on my machine, works in the cloud

0
When I run my app locally in Studio Pro, one specific page fails to render with the following error:An error occurred while loading page 'MyModule.Login_page_without_event'.This likely means that the page includes a broken widget.Please check that all your widgets are React Client compatible and are valid ES modules.Cannot read properties of undefined (reading 'ReactCurrentDispatcher')TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher') at http://localhost:8081/dist/index-BVJUjNhS.js:1413:55 at http://localhost:8081/dist/index-BVJUjNhS.js:21671:5The same revision works fine in the cloud environment and on my colleagues' machines — it only fails when I run it locally on my PC.Could you help me with a solution for this?
asked
1 answers
0

If it's just broken for you, it sounds like something is cached.

Try the Synchronize Dependencies option, followed by Clean Deployment Directory in the App menu in Studio Pro. Now try running your application again.

It's probably also worth doing a hard refresh in your browser. If you are using Chrome, that would be CTRL Shift and then clicking Reload.

Good luck!

answered