4

I am trying to install some packages for React-Native project but its shows me NPM version error so, How can I upgrade.

My current version is 4

jatin.7744
  • 406
  • 4
  • 11

1 Answers1

7

Hey for updating npm just fire this command in terminal

npm i npm@5 -g

here -g is for global if you want to install only for one project then just remove -g from this. Thanks, Hope this will help you.

Narendra Solanki
  • 868
  • 12
  • 20