0

There is some problem with my npm package. My node is perfectly installed. I checked through node -v cmd immediately spits out the version, but when I npm -v I get the following error

enter image description here

However, I thought it won't be a problem for installing packages. But I was wrong I get the following error. Please see the error log below

https://i.stack.imgur.com/aj4Wl.png

halfer
  • 19,824
  • 17
  • 99
  • 186
  • Please don't share error messages as images – Nico Haase Jun 25 '18 at 07:30
  • Yes, please change your images to blocks of formatted text. Images containing text are not compatible with clipboards, screen-readers and search engines, and thus make it harder for people to help. – halfer Jun 25 '18 at 07:43
  • The general error ("not recognized as an internal or external command") is a duplicate anyway - please search for it on this site. – halfer Jun 25 '18 at 07:45

1 Answers1

0

Your command npm -v is executed and it returned you the version as 5.6.0.

The issue here is of WINDOWS path variable.

It is not related to NPM and can be solve by following detailed steps from here:

Link

Kalana Demel
  • 3,220
  • 3
  • 21
  • 34
Harshal Yeole
  • 4,812
  • 1
  • 21
  • 43