Error AtlasError Documentation and Resolution

npm could not find git

npm ERR! not found: git

npm can fail with ENOGIT or not found: git when a package or install path depends on git but git is not installed or not available on PATH.

ENOGIT / not found: gitinstallation
npm ERR! not found: git
  • Git is not installed on the machine.
  • Git is installed but not available on PATH for the active shell.
  • The package being installed depends on a git-based source.
  1. Install git on the machine.
  2. Confirm git is available from the same shell npm is using.
  3. If the issue involves account metadata, review git information in your npm profile.
npm Docs: Common errors
npm ENOGIT not found: git: causes and fixes | Error Atlas