Can’t find ionic, cordova scripts: npm on shared workstation

We have a shared workstation (don’t ask!) and after users do

npm install ionic cordova

the command “ionic” doesn’t work.

This is because you need to add the path to npm scripts to your PATH variable.

Your user account path should be

%PATH%;C:\Users\fred\AppData\Roaming\npm;

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Website by Daneswood