Dev Tools · 6h ago
npm 404 Bug Fixed by Recreating Trusted Publisher Config
A developer encountered a 404 error when publishing an npm package via GitHub Actions, despite OIDC authentication succeeding. The issue was not in the workflow or package config but in npm's Trusted Publisher settings. Recreating the Trusted Publisher configuration resolved the problem instantly.
Meridian48 take
A cautionary tale: even when OIDC auth passes, npm's Trusted Publisher settings can silently break — resetting them is a quick fix.
Read the full reporting
OIDC Authentication Succeeded, but npm Publish Returned 404 — Here’s What Happened →
DEV Community
npmgithub-actions