diff --git a/pages/common/npm-doctor.md b/pages/common/npm-doctor.md new file mode 100644 index 0000000000..393ca4974b --- /dev/null +++ b/pages/common/npm-doctor.md @@ -0,0 +1,24 @@ +# npm doctor + +> Check the health of the npm environment. +> More information: . + +- Run all default health checks for npm: + +`npm doctor` + +- Check the connection to the npm registry: + +`npm doctor connection` + +- Check the versions of Node.js and npm in use: + +`npm doctor versions` + +- Check for permissions issues with npm directories and cache: + +`npm doctor permissions` + +- Validate the cached package files and checksums: + +`npm doctor cache`