Next.js error only in production on newly created item on dynamically routed slug page

Hey @Kimfucious,

Are you doing some kind of image transformations inside any of your routes covered by ISR?

Could you try to make sure:

  1. sharp exists as a dependency in your top-level package.json.
  2. Including it like:
[functions]
  external_node_modules = ["sharp"]

in your netlify.toml, works?