Ionic 2 error 'ionic' is not recognized as an internal or external command


#1

hello,
i just get this error
’ionic’ is not recognized as an internal or external command

after i run npm ionic install -g
it works fine and then after some minutes it’s shows again
this is how i declare my eniroment variable in my pc, maybe this is the problem?


Ionic serve doesn't show anything
#2

@adirzoari, looks like you need to reinstall ionic. There is no need to set environment variables explicitly.
Simply do, npm install ionic -g


#3

i did it…
i really disappointed with ionic 2.
i take all my time to solve bugs.


#4

@adirzoari, I had this hard time while updating from ionic 2.0.0.beta-11 to ionic rc0 and I can understand.
There is a need of clean up of node modules, updating typescript and complete environment setup.
You can ping me on skype gaurav.madaan9