I am starting to use Angular 2, which requires npm 3.x.x
, so I installed it with npm install -g npm3
. The Angular 2 tutorials tell me to verify that I have npm 3.x.x
by running npm -v
, however when I run that, it still says I have version 2.15.8
. It shows that I have version 3.10.7
if I run npm3 -v
, but not if I run npm -v
. Is this going to cause errors? Do I need to it to say I'm using version 3.x.x
when I run npm -v
? If so, what do I need to do?
EDIT:
Node.js version: node -v
reveals that I am using v4.4.7 (Angular2 requires something between 4.4.x
- 5.x.x
, so I should be good here)
OS: I am currently using Windows 10 on a PC, but have had the same issue with my Mac.