Context: This is a site which downloads an image based on a few parameters, processes it in the api/images.ts
and then returns it to the user.
Site name: sl-samuraipunks.netlify.app
Source code: github.com/samurai-legends/samuraipunks
For some reason my site is returning a 500 error, can’t view anything. The logs also don’t show anything, since the page is not being loaded.
Notes:
- nextjs dev works fine
- nextjs build and then start works fine
- netlify-cli dev works fine
- netlify-cli build works fine
- just the online version breaks
This started when I added the netlify.toml
file, if I remove it the blank page goes away and the page loads, but then the generate function breaks since sharp
won’t load, because it needs to be included.
Any tips?