I cannot emulate my app on a android emulator / simulator ::: ionic cordova run android causes [ERROR] Gulp is not installed! You can install it locally:

I cannot emulate my app on a android emulator / simulator

ionic cordova run android , causes [ERROR] Gulp is not installed! You can install it locally:

I created a sidemenu template called myApp2

ionic cordova platform add android

When I try to emulate android I get this bug

When I run ionic cordova emulate android the subfolders within node_modules remain but their dissappear

Android SDK is installed fine, I created a seperate Cordova projject and emulated an android and it ran fine.

full thing:

Ionic Info:
info

I try to emulate, then fail, then npm install, emulate again, but it fails

PLEASE HELP !!!

Did you read the error message and do what it says?

@Sujan12 Thanks for your response, The error I received is,

[ERROR] Gulp is not installed! You can install it locally:

which I get when I run
ionic cordova run android or ionic cordova emulate android

The next line of the error message what you can do to solve the problem.

I did npm install the exactly same thing happened, I even installed gulp separately.

Can you create an Ionic version 1 app ? and try to do what I did ?

I think the problem might be in my ionic.config.json file

Did you run npm i -D gulp?
Did the error message change?

1 Like

I did both npm install and npm i -D

then I add the android platform and then I emulate/run and I did same issue, where it says I need to install gulp.

Can you create an Ionic version 1 app ? and try to do what I did ?

ionic start myApp blank --type=ionic1

This is not enough. You have to install gulp.

What does npm list --depth=0 return in your project?