I instal ionic but it works only on path from user like this:
C:\Users\myUser\
When i eneter “ionic” i receive right information about ionic, but when i change directory for ex.
D:\myApp\ & enter the “ionic” fraze the cmd does not recognize command, can You help me with this?
P.S. npm & cordova working right in all folders on my computer
Yes i do, i make a lot of things to slove this problem with reinstal a win 10. But everything false & my ionic and cordova dont work in other disk then c where windows is.
My guess is you installed Ionic and all your dependencies to one partition of the Harddrive, and you are trying to access them on another partition.
Make sure you install your dependencies (node/npm, ionic, grunt, etc) on the harddrive you’ll be coding from.
Its kind of like opening an image. You have the image on one harddrive, so if you try to open it on a different harddrive, it won’t exist. You know its a different harddrive becaues of the prefix C:/ and D:/
Yea, it looks like its trying to access files on two different harddrives which is causing the errors. I’m not exactly sure what you posted, but thats what it looks like.
I would keep all development to a single harddrive to avoid this. If I were you, I might try removing all dependencies and npm, and starting fresh.
I’ll try it but problem is to when i change directory within the same disk when i change directory form c:\users\piotr to c:\users\ ionic and cordova didn’t work
I was always installed with -g flag. I have good news i slove this problem. I was adding the path for ionic, cordova and npm modules to PATH & it’s working.