any npm command not running even though node and npm installed

  Kiến thức lập trình

I’m not able to run any npm command not even “init” or “version” ones. It shows me following error __>node is installed but on checking the npm version it shows error

I uninstalled node and reinstalled but again the problem remains the same. The moment i go to install npm it starts showing this error.

New contributor

RITIK SINGH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT