npm-doctor
Check the health of the npm environment. tldr-pages
On several platforms
Several platforms
Run all default health checks for npm
npm doctorIdentifyCheck the connection to the npm registry
npm doctor connectionIdentifyCheck the versions of Node.js and npm in use
npm doctor versionsIdentifyCheck for permissions issues with npm directories and cache
npm doctor permissionsIdentifyValidate the cached package files and checksums
npm doctor cacheIdentify