In one of your pages you threw an error with the code ENOENT
, this was previously an internal feature used to trigger rendering the 404 page and should not be relied on.
Handle rendering the 404 state on the current page instead of throwing and trying to render a separate page.