NextJS 13 404 page not working

Hi,

I deployed my NextJS 13 app, however custom 404 pages are not working. I followed Next’s docs on using not-found.tsx files. It works in dev locally, and when running the prod build locally, but the deployed version gives a 500 error when navigating to a route that doesn’t exist.

I’m using:

  • next v13.4.7
  • @netlify/plugin-nextjs v4.38.1

Deployed app: https://finiam-falcone.netlify.app/

Hi, is nextjs runtime installed as outlined here?