From 0c56bbd4cd05e4468c8cb0f15865197685d31c8c Mon Sep 17 00:00:00 2001 From: Mayank Kumar <103447831+mayank-Pareek@users.noreply.github.com> Date: Sat, 19 Oct 2024 06:35:06 -0400 Subject: [PATCH] npm-doctor: add page (#14262) * npm-doctor: add page * Update description and url --------- Co-authored-by: Wiktor Perskawiec --- pages/common/npm-doctor.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/npm-doctor.md diff --git a/pages/common/npm-doctor.md b/pages/common/npm-doctor.md new file mode 100644 index 000000000..393ca4974 --- /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`