4

Run

npm install -g npm@5.5.1 in my terminal but my npm version is still 6.4.1

My Terminal

Wilson Lau
  • 243
  • 3
  • 8

2 Answers2

2

did you run this command with administrative privilages. I have never used mac but from my knowledge sudo npm install -g npm@5.5.1 should work. For windows, open CMD as administrator and then run npm install -g npm@5.5.1

Nisha Dave
  • 669
  • 1
  • 9
  • 25
0

Try unistalling the node.js and manually intalling it from Mac OS X 64-bit Installer:

Kiran Bhattarai
  • 175
  • 1
  • 12