You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Visiting a non-existing package page returns a 200 OK response with JSON error envelope #3204
See screenshot straight from the browser, demonstrating the format of the request package name (that is likely non-existent on the npm registry) and the JSON response data returned in an HTTP 200 OK:
Additional context
Expected outcome would be that the npmx.dev return a 404 page
Hey, I'd like to take a look at this. From digging into the code, it looks like it might be caused by how the /package/** route's ISR caching (in nuxt.config.ts) interacts with Vercel's error-status handling ,the 404 gets set correctly during render but might not survive the ISR cache write. Before I dive in: is this expected to be fixable purely in this repo (e.g. a config tweak or dependency bump), or does it depend on an upstream fix in Nitro/Vercel's preset? Want to make sure I'm not chasing something outside our control.
Activity
coder-tejas commentedon Aug 25, 2026
Hey, I'd like to take a look at this. From digging into the code, it looks like it might be caused by how the /package/** route's ISR caching (in nuxt.config.ts) interacts with Vercel's error-status handling ,the 404 gets set correctly during render but might not survive the ISR cache write. Before I dive in: is this expected to be fixable purely in this repo (e.g. a config tweak or dependency bump), or does it depend on an upstream fix in Nitro/Vercel's preset? Want to make sure I'm not chasing something outside our control.
gameroman commentedon Aug 26, 2026
Just saw this happen to me too
though in this case package does exist, just old cache for a new version