Is npm Down? How to Check npm Registry Status & Quick Fixes

by API Status Check
Staff Pick

๐Ÿ“ก Monitor your APIs โ€” know when they go down before your users do

Better Stack checks uptime every 30 seconds with instant Slack, email & SMS alerts. Free tier available.

Start Free โ†’

Affiliate link โ€” we may earn a commission at no extra cost to you

Is npm Down? How to Check npm Registry Status & Quick Fixes

Getting npm ERR! during installs? Can't publish packages? When the npm registry goes down, JavaScript development worldwide comes to a standstill โ€” no installs, no CI/CD, no deploys.

This guide shows you how to check if npm is actually down, work around registry issues, and keep shipping code during outages.

Is npm Down Right Now?

1. Check npm Status Page

npm maintains a status page at status.npmjs.org covering:

๐Ÿ“ก Monitor npm and all your infrastructure dependencies. Better Stack checks your endpoints every 30 seconds and alerts you instantly when services go down โ€” before your users notice.

  • Registry โ€” package downloads and installs
  • Website โ€” npmjs.com browsing
  • CLI โ€” command-line tool functionality
  • Publishing โ€” package publishing pipeline

2. Use API Status Check

API Status Check monitors npm and 117+ other services in real-time. Check your entire dev infrastructure from one dashboard โ€” no signup required.

3. Quick CLI Test

Run a quick check from your terminal:

npm ping

If this returns Ping success, the registry is reachable from your network. If it hangs or errors, there's likely an issue.

4. Check Social Media

Search Twitter/X for "npm down" โ€” developers are extremely vocal about npm outages.

Common npm Issues and Quick Fixes

npm install Failures

Symptoms: ETIMEDOUT, ECONNRESET, FETCH_ERROR, or ERR_SOCKET_TIMEOUT during installs.

Quick fixes:

  1. Retry โ€” transient network issues resolve on retry: npm install --retry 3
  2. Clear npm cache โ€” npm cache clean --force then retry
  3. Switch registry โ€” temporarily use a mirror: npm install --registry https://registry.npmmirror.com
  4. Check proxy settings โ€” corporate proxies often block npm; check npm config get proxy
  5. Delete node_modules and lockfile โ€” rm -rf node_modules package-lock.json && npm install

Package Publish Errors

Symptoms: npm publish hangs, returns 500 errors, or EPUBLISHCONFLICT.

Quick fixes:

  1. Check publish status โ€” the publish pipeline can be down while installs work fine
  2. Verify authentication โ€” npm whoami to check your login status
  3. Check package name โ€” name conflicts with existing packages cause publish failures
  4. Bump version โ€” you can't republish the same version; increment and retry
  5. Try with verbose โ€” npm publish --verbose for detailed error information

Authentication Issues

Symptoms: 401 Unauthorized, npm ERR! code ENEEDAUTH, or login not persisting.

Quick fixes:

  1. Re-login โ€” npm login and enter credentials fresh
  2. Check auth token โ€” verify ~/.npmrc has a valid token
  3. Regenerate token โ€” create a new token at npmjs.com โ†’ Access Tokens
  4. Check 2FA โ€” if you enabled 2FA, you need an OTP for publish operations
  5. Scope check โ€” scoped packages need proper org authentication

Slow Downloads

Symptoms: Installs take 10x longer than usual, progress bar barely moving.

Quick fixes:

  1. Use a faster registry mirror โ€” npm config set registry https://registry.npmmirror.com (temp)
  2. Try yarn or pnpm โ€” alternative clients can be faster: pnpm install
  3. Use --prefer-offline โ€” installs from local cache when possible
  4. Check your network โ€” run a speed test; npm needs decent bandwidth for large node_modules

What To Do During an npm Outage

1. Use Your Local Cache

npm caches packages locally. If you've installed them before:

npm install --prefer-offline

This uses cached versions and only hits the registry for packages not in your local cache.

2. Use Alternative Registries

Temporary mirror registries can save you during outages:

# Taobao/China mirror (works globally)
npm install --registry https://registry.npmmirror.com

# GitHub Packages (if configured)
npm install --registry https://npm.pkg.github.com

3. Use Alternative Package Managers

yarn and pnpm use the same registry but have their own caching layers:

# yarn (has its own cache)
yarn install --offline

# pnpm (content-addressable store)
pnpm install --offline

4. Pin Your CI/CD

If npm is down during deployments:

  • Use lockfiles (package-lock.json) โ€” they include integrity hashes
  • Cache node_modules in CI โ€” GitHub Actions, GitLab CI, and CircleCI all support this
  • Consider vendoring critical dependencies for mission-critical deploys

๐Ÿ” Secure your infrastructure credentials. 1Password keeps your API keys, SSH credentials, database passwords, and service tokens organized and instantly accessible โ€” critical during incident response.

5. Use Verdaccio for Critical Projects

Verdaccio is a lightweight private npm proxy registry. It caches all packages you've ever installed, giving you a local fallback during outages.

How To Set Up npm Outage Alerts

npm Status Notifications

Subscribe at status.npmjs.org for incident notifications via email or webhook.

API Status Check

Monitor npm alongside all your dev tools at apistatuscheck.com โ€” free, no signup required.

FAQ

Is npm down or is it just me?

Run npm ping first. If it succeeds, the issue is likely local (proxy, cache, or network). If it fails, check status.npmjs.org and API Status Check.

What happens to my deploys if npm goes down?

If your CI/CD caches node_modules or uses a lockfile with --prefer-offline, deploys can still succeed. Without caching, deploys will fail until the registry is back. Set up Verdaccio or CI caching as insurance.

How often does npm go down?

The npm registry is generally reliable but experiences 3-5 incidents per month, mostly brief degradations. Full outages lasting more than an hour are rare โ€” a few times per year. Install operations are more resilient than publish.

Is yarn/pnpm affected when npm goes down?

Yes โ€” yarn and pnpm use the same npm registry by default. However, their local caching is often better, so --offline mode is more likely to succeed. You can also configure them to use mirror registries.


Stay ahead of npm outages โ€” monitor your entire JavaScript infrastructure for free at apistatuscheck.com.

๐Ÿ›  Tools We Use & Recommend

Tested across our own infrastructure monitoring 200+ APIs daily

SEMrushBest for SEO

SEO & Site Performance Monitoring

Used by 10M+ marketers

Track your site health, uptime, search rankings, and competitor movements from one dashboard.

โ€œWe use SEMrush to track how our API status pages rank and catch site health issues early.โ€

From $129.95/moTry SEMrush Free
View full comparison & more tools โ†’Affiliate links โ€” we earn a commission at no extra cost to you

API Status Check

Stop checking API status pages manually

Get instant email alerts when OpenAI, Stripe, AWS, and 100+ APIs go down. Know before your users do.

Start Free Trial โ†’

14-day free trial ยท $0 due today ยท $9/mo after ยท Cancel anytime

Browse Free Dashboard โ†’