That error screen is shown by React in development mode (when the app is built and deployed, it wouldn’t show that error in production) – this error was a minor thing in the background that didn’t affect anything else in the app thankfully, so the error screen was shown but the rest of the app could keep working once the screen was closed.
When you update the
@dhis2/app-runtime dependency, you might run into something funny where you get errors like
Data context must be initialized -- add a DataProvider to your application, and if you run
yarn why @dhis2/app-runtime you’ll see there are two versions installed – if that happens, you can fix it by running
npx yarn-deduplicate yarn.lock && yarn in your app directory, which will remove the duplicate version which is causing the issue, then sort out the dependencies Good luck!