mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 22:15:42 +02:00
npm-doctor: add page (#14262)
* npm-doctor: add page * Update description and url --------- Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
63f1642391
commit
0c56bbd4cd
1 changed files with 24 additions and 0 deletions
24
pages/common/npm-doctor.md
Normal file
24
pages/common/npm-doctor.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# npm doctor
|
||||
|
||||
> Check the health of the npm environment.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-doctor>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue