Exit code 1 with emulate

Hi I get this message An error occurred while running cordova emulate android (exit code 1)

When I run this commande : ionic cordova emulate android.

I get the same error message if I want emulate on Ios.

How to fix it ?

Thank you