Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署到Vervel可以运行 但是Docker部署到服务器无法运行 报错如下 #65

Open
hamletzhang opened this issue Oct 30, 2023 · 0 comments

Comments

@hamletzhang
Copy link

Listening on port 3000 url: http://1dc3a52c72a1:3000
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```

![image](https://github.com/guaguaguaxia/weekly_report/assets/38814322/494d1f0e-a6d2-468d-b863-2e21777ac793)

无论是直接拉Docker还是自己build Docker都是一样的结果
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant