imagegenius / docker-ai-chat-app

GNU General Public License v3.0
25 stars 2 forks source link

Add 'sharp' package #10

Closed specked closed 1 year ago

specked commented 1 year ago

"For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization."

I added it by: /usr/lib/node_modules/corepack/shims/yarn add sharp

hydazz commented 1 year ago

What image optimisation is there to do?

specked commented 1 year ago

no idea but I get an error when I submit a chat and the error message is different after installing 'sharp'.

hydazz commented 1 year ago

different

What does the error change to?

specked commented 1 year ago

it goes from this: image

to

image

specked commented 1 year ago

I guess they're both 500 errors so same error just looks different? The original message to add sharp was provided in the docker log

hydazz commented 1 year ago

i will add sharp soon