Hello Team,
Here is the issue I am facing
I could see that “android settings app” was not found in the “apps” section, therefore i tried to load it manually and followed the following steps
- fetched the repo from github
- executed yarn install
- executed yarn build
I get the following error
================================
(node:16170) UnhandledPromiseRejectionWarning: TypeError: reporter.debugError is not a function
at FSWatcher. (/home/sunder/YELDI/server/android-settings-app/node_modules/@dhis2/cli-app-scripts/src/lib/compiler/compileApp.js:75:26)
at FSWatcher.emit (events.js:310:20)
at FSWatcher._handleError (/home/sunder/YELDI/server/android-settings-app/node_modules/chokidar/index.js:641:10)
at NodeFsHandler._addToNodeFs (/home/sunder/YELDI/server/android-settings-app/node_modules/chokidar/lib/nodefs-handler.js:636:18)
(node:16170) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Before loading this app, I was able to load “app-skeleton” app just to get familiar with app making process, and it worked fine.
Here are the node versions
node - 12.16.3
npm - 6.14.4
yarn - 1…22.4
Please help.
Regards
Sunder