Details was shared above:
- Here is the question I asked:
- Here is my actual
netlify.toml:
As said previously, it’s inside Netlify Functions (function tab inside Netlify Dashboard):
And above, there was the error i get inside the Netlify function tab:
I also have linked these ressources previously:
- NextJS start preview: https://nextjs.org/docs/advanced-features/preview-mode#step-1-create-and-access-a-preview-api-route
- NextJS exist preview: https://nextjs.org/docs/advanced-features/preview-mode#clear-the-preview-mode-cookies
- A thread about sharp missing in Netlify function : Next.js error only in production on newly created item on dynamically routed slug page - #8 by hrishikesh (and also, it was you answering this thread
)