why i can't install cordova and ionic by command promt in window 8.1

131 views Asked by At

I tried to install cordova and ionic by using command prompt. I have already installed the Nodejs. But it still show like below picture.Can you help me please I just start studying about this.Let see the picture!

enter image description here

1

There are 1 answers

23
coder On

First check node and npm versions

Node version

node -v

npm version

  npm -v

If they are showing versions without any problem you have successfully installed the node. then try to install cordova and ionic one by one.

First install the cordova

sudo npm install -g cordova

and then install ionic

sudo npm install -g ionic