The issue has been closed
💻 系统环境
Other Linux
📦 部署环境
Docker
🌐 浏览器
Chrome
🐛 问题描述
⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
这个问题怎么解决呀 sharp依赖安装成功依然报错
🚦 期望结果
No response
📷 复现步骤
No response
📝 补充信息
No response

👀 @chree188
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
posted by lobehubbot about 1 year ago
我试了下我们的镜像似乎没有这个问题。你是自己打的吗
posted by arvinxx about 1 year ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I tried our image and it doesn't seem to have this problem. Did you hit it yourself?
posted by lobehubbot about 1 year ago
我试了一下我们的镜像似乎没有这个问题。你是自己打的吗
我是自己打包部署的,难道是我的Dockerfile写的有问题?
posted by chree188 about 1 year ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I tried it and our image doesn't seem to have this problem. Did you hit it yourself?
I packaged and deployed it myself. Is there something wrong with my Dockerfile?
posted by lobehubbot about 1 year ago
@chree188 应该是的,自己检查下 dockerfile 吧。
posted by arvinxx about 1 year ago
✅ @chree188
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
posted by lobehubbot about 1 year ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
@chree188 It should be yes, check the dockerfile yourself.
posted by lobehubbot about 1 year ago