Error while Running android on ionic cordova


#1

Installed android studio and trying to launch android emulator.
Get the below 2 errors:

at process._tickCallback (internal/process/next_tick.js:150:11)
(node:2637) 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(). (rejection id: 1)

(node:2637) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Using mac terminal. Installed SDK with android studio.
Any solutions?


#2

I see two warnings an not errors…

For the first one:
https://issues.apache.org/jira/browse/CB-13694
You should comment there if you this actually is identical to your problem.

What is your ionic info output?


#3

Same issue for few plugins

$ionic info
:heavy_check_mark: Gathering environment info - done!
[WARN] You are not in an Ionic project directory. Project context may be
missing.

Ionic:

ionic (Ionic CLI) : 4.2.1

System:

NodeJS : v10.13.0
npm : 6.4.1
OS : macOS