NPM giving error - TypeError: Cannot destructure property `stat` of 'undefined' or 'null'

Viewed 2177

when I type npm on cmd, I get error TypeError: Cannot destructure property stat of 'undefined' or 'null'.

enter image description here

1 Answers

Try

npm -v

and check whether npm is showing version or not ! If not then please try to install or if you already installed app then try to add path up to /bin in the environment variable. This will help you.

Related