OpenMRS 3.0 local setup issues (Automatic publicPath is not supported in this browser)

Hi Everyone,

I’ve setup my local environment with OpenMRS 3.0 frontend. I made required stuff (npx openmrs build and assemble) and run my local machine. When I go to the login page I see in browser console error logs like: image

After logging I am redirected to the blank page where only OpenMRS header is visible and I see similar logs in console browser: image

I guess it is caused by ‘Automatic publicPath is not supported in this browser’.

Has anyone encountered or know this issue? How can I fix it?

Thanks in advance for any tips that can help me

Kind regards, Dawid

1 Like

It turned out that I had in importmap.json this app: @openmrs/esm-framework

When I removed it application started fine.

2 Likes

Thanks Dawid for the explanation here. @bistenes is this a known issue? I still sometimes run into that blank-screen bug - is this where the cause may be…?

It sounds like Dawid had something configured incorrectly and that he has resolved the problem.

1 Like