syphon228
syphon228

Reputation: 159

Running "ng new" within local Windows nodeJS install give npm error

I've extracted nodeJS to a local directory and I am attempting to run "ng new testproject" and I am getting the following error:

'npm' is not recognized as an internal or external command,

Please note that I CANNOT modify my local path (locked out by firm policy) so simply adding the directory to PATH does not work for me. How can I create and admin Angular projects within my local node folder without modifying path?

Upvotes: 0

Views: 40

Answers (1)

GCSDC
GCSDC

Reputation: 3530

This seems to be related to this open issue.

As per this comment a workaround is to run npm install manually after running ng new.

Upvotes: 1

Related Questions