so I just downloaded node from the website, node works just perfect but the thing is whenever I try to use npm
command in terminal it doesn't work and throws this Error
Also, I tried to update npm but it seems it won't work since I can't use the npm command like npm i npm@latest -g
and it throws the same Error
CodePudding user response:
Consider installing node using Node Version Manager to install them all over again.