Npm command did not respond

  node.js, question

The npm command did not respond after win8 system modified the prefix path, but nvm -v node -v can view the version, and other commands did not respond. Not even uninstalling and reinstalling the latest node, even nvm –help cannot be opened.

A. npmrc configuration file was generated in the current directory after the prefix was previously modified. This configuration file was changed into a mess. This configuration file will not be deleted every time uninstallation and reinstallation, and it will be normal after deletion.