-
Notifications
You must be signed in to change notification settings - Fork 0
npm install fails with E404 — package not found on npmjs.org #181
Description
Description
Installing @foomakers/pair-cli via npm install -g fails with a 404 error because the package is hosted on GitHub Packages, not on the public npm registry (registry.npmjs.org).
The README Quick Start section suggests running:
npx @foomakers/pair-cli install
This also fails out of the box for the same reason — npm defaults to registry.npmjs.org, where the package does not exist.
Steps to Reproduce
Run npm install -g @foomakers/pair-cli (or npx @foomakers/pair-cli install) with a default npm configuration
Observe E404 error:
npm error 404 Not Found - GET https://registry.npmjs.org/@foomakers%2fpair-cli - Not found
Expected Behavior
The package should install without requiring manual .npmrc configuration, or the README should document the required setup (GitHub PAT + .npmrc registry override for the @foomakers scope).
Suggested Fix
Either:
Publish the package to the public npm registry so npx works out of the box, or
Add installation prerequisites to the README explaining how to configure .npmrc for GitHub Packages
Environment
npm 10.x
macOS
No custom .npmrc configuration