Error AtlasError Documentation and Resolution

npm hangs on Windows at addRemoteTarball

npm hangs on Windows at addRemoteTarball

npm can hang on Windows during addRemoteTarball when more than one tmp directory is configured in .npmrc.

npm hangs on Windows at addRemoteTarballinstallation
npm hangs on Windows at addRemoteTarball
  • The npm configuration defines more than one tmp directory.
  • Conflicting temp directory settings cause npm to stall while processing tarballs.
  • A legacy .npmrc file carries redundant temp configuration.
  1. Inspect npm config output and look for multiple tmp definitions.
  2. Remove all but one tmp configuration entry from .npmrc.
  3. Retry the install after simplifying temp directory settings.
npm Docs: Common errors
npm hangs on Windows at addRemoteTarball: causes and fixes | Error Atlas