`Unexpected "type"` error when running yarn start on a app-platform DHIS2 application

Hello,

When starting a DHIS2 application bootstrapped with the latest app platform tools, the error Unexpected "type" appears, and the application does not run. The error seems to originate from node_modules/@dhis2/app-service-data/build/es/index.js:4:7

Here is a screenshot for reference:

Versions:

  • @dhis2/cli-app-scripts: 12.6.1
  • @dhis2/app-runtime: 3.14.2

Thanks for the report @nnkogift! This turned up with @dhis2/app-runtime 3.14.2, and should be fixed with version 3.14.3 :slight_smile:

2 Likes

Thanks @kpvandivier for the prompt fix!