LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

npm-doctor

runs diagnostics to check npm environment health

TLDR

Run npm environment diagnostics
$ npm doctor
copy
Run with a specific registry
$ npm doctor --registry [https://registry.npmjs.org]
copy

SYNOPSIS

npm doctor [--registry registry]

DESCRIPTION

npm doctor runs a set of diagnostics to verify the npm environment is healthy. It checks: npm can reach the configured registry, the installed version of node and npm are supported, the npm cache is not corrupt, global and local bin directories exist and are on PATH, the packages tree has correct ownership, and the git binary is available.Each check is reported as OK or shows the specific problem. If any check fails, the exit code is non-zero.

INSTALL

sudo pacman -S npm
copy
sudo apk add npm
copy
brew install npm
copy

CAVEATS

Some checks require network access. On restricted systems (CI, air-gapped), registry connectivity checks will fail. Cache verification can be slow on large caches.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid