Next.js Discord

Discord Forum

free(): invalid size error on vercel deploy

Unanswered
porto posted this in #help-forum
Open in Discord
Original message was deleted.

3 Replies

After tests I've notice that when I delete the local images (in public folder) it works great
If anyone know why this is happing, pls explain 🙂
Found the problem!

I was trying to use

import image from '../../../public/imagename.jpeg'


removing that and puting relative path to Image comoponents solve the problem