The 'ionic' is not recognized as an internal command

2

I'm trying to create an app with ionic but this error happens:

'ionic' is not recognized as an internal command or external, operable program or batch file.

    
asked by anonymous 14.08.2016 / 02:53

2 answers

6

For some reason during installation of npm was not added to environment variable.

Add in Path: C: \ Users \ My.User \ AppData \ Roaming \ npm

    
07.10.2016 / 02:25
1

Verify that the latest version of the Java SDK is installed on your machine. Without it the ionic can not create the environment variables at the time of installation.

Once the SDK is installed, re-install the ionic.

npm install -g corona ionic

To test the installation.

ionic -v

    
13.08.2017 / 01:50