ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] No git or not from git repo
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Bug Description
更新2.12.4之后,页面报错
Docker 容器日志:
```
▲ Next.js 14.1.1
- Local: http://94f8bdcc0569:3000
- Network: http://172.17.0.10:3000
✓ Ready in 119ms
[Server Config] using 1 of 1 api key
[Server Config] using 1 of 1 api key
/bin/sh: git: not found
[Build Config] No git or not from git repo.
⚠ Unsupported metadata viewport is configured in metadata export in /_next/static/chunks/7267.472af8b023ac9ed4.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
⚠ Unsupported metadata themeColor is configured in metadata export in /_next/static/chunks/7267.472af8b023ac9ed4.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
/bin/sh: git: not found
[Build Config] No git or not from git repo.
⚠ Unsupported metadata viewport is configured in metadata export in /_next/static/chunks/5101.782ee8ee415c64a2.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
⚠ Unsupported metadata themeColor is configured in metadata export in /_next/static/chunks/5101.782ee8ee415c64a2.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
/bin/sh: git: not found
[Build Config] No git or not from git repo.
⚠ Unsupported metadata viewport is configured in metadata export in /_next/static/chunks/7267.472af8b023ac9ed4.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
⚠ Unsupported metadata themeColor is configured in metadata export in /_next/static/chunks/7267.472af8b023ac9ed4.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
/bin/sh: git: not found
[Build Config] No git or not from git repo.
⚠ Unsupported metadata viewport is configured in metadata export in /_next/static/chunks/5101.782ee8ee415c64a2.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
⚠ Unsupported metadata themeColor is configured in metadata export in /_next/static/chunks/5101.782ee8ee415c64a2.js. Please move it to viewport export instead.
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport
```
### Steps to Reproduce
2.12.2版本更新到2.12.4版本
### Expected Behavior
2.12.2版本更新到2.12.4版本,容器启动报错
### Screenshots
_No response_
### Deployment Method
- [X] Docker
- [ ] Vercel
- [ ] Server
### Desktop OS
Linux ubuntu 6.5.0-1021-oracle #21~22.04.1-Ubuntu aarch64 aarch64 aarch64 GNU/Linux
### Desktop Browser
Chrome
### Desktop Browser Version
126
### Smartphone Device
_No response_
### Smartphone OS
_No response_
### Smartphone Browser
_No response_
### Smartphone Browser Version
_No response_
### Additional Logs
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.