'ionic' is not recognized as an internal or external


#1

Hi,
I am getting error

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

tried all ionic with g nothing helps on windows.


#3

Did you add Ionic cmd file location to Windows Environment Path?

This is a correct location in my Win7 system: c:\Programiranje\NodeJS\ionic.cmd

Or take a look here: http://www.gajotres.net/ionic-framework-tutorial-1-installation/


#4

Have you been able to install and use other nodejs commands globally installed such as bower or gulp?


#5

i have installed the ionic2 framework(or so it says) and then i tried to run the command $ ionic start eventTutorial blank --v2 but it pops with an error that íonic’ is not recognised as an internal or external command. I have run npm cache clean and re-installed using npm install -g ionic in admin mode , still doesnt work.

Thoughts?


#6

I’m using windows 10 for developing, I solved the problem by adding the npm global packages folder to the environment variable Path

%USERPROFILE%\AppData\Roaming\npm