If you are on Windows, use the Git Bash shell and you have problems calling cordova and ionic, you may need to add the path value to
c: \ users [your username] .bash_profile
this helped compare the path to Windows (cmd - echo% path%) with the Git Bash shell path:
Git Bash Doesn't See My PATH
there were global paths for me, but no user paths. I had to add:
PATH = $ PATH: / c / Program Files (x86) / Microsoft VS Code / bin: / C / Users / [my username] / AppData / Roaming / npm
A ismaili
source share