Node.jsexit code > 0

npm ERR! 404 Not Found

$npm ERR! 404 Not Found - GET https://registry.npmjs.org/non-existent-package - Not found

Analysis

The package or version you are trying to install does not exist in the NPM registry.

Common Triggers

  • Typo in package name.
  • Private package without configuring authentication (.npmrc).
  • Package was unpublished.

Debug Checks

  • $Search npmjs.com for the package.
  • $Check your .npmrc file for registry configuration.

Resolution

1
Correct the package name.
2
Log in to the private registry: npm login.