I set up this but I’m having the following questions.
It isn’t available on HTTPS
but with HTTP
. May I know how to setup https? Or is it a typo?
2. When I generate the import-map.json along with the frontend content using packmap it builds the UI same as in this tutorial:
But it’s different than https://openmrs-spa.org/openmrs/spa/home. So I enabled the dev tools and override the import map with this map (openmrs-spa.org’s import map).
Now it works perfectly but the home page is still empty. Also, it displays Oops! An unexpected error occurred.
on the home page. (Full console log: 2init-i18next.js:56 Error: Module @openmrs/esm-devtools does not export an - Pastebin.com) Other UIs such as login, find patient works fine.
Can someone help me to solve this?