ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] netlify现在无法发布最新版,只要设置变量就报错
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Bug Description
10:06:13 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2
10:06:13 AM: (Netlify Build completed in 2m 28.1s)
10:06:13 AM: /opt/build-bin/build: line 142: [: ****: integer expression expected
10:06:13 AM: /opt/build-bin/build: line 148: exit: ****: numeric argument required
10:06:13 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
我只要在环境变量添加CODE或BASE_URL就会报错,只添加OPENAI_API_KEY不会报错可以正常使用,
### Steps to Reproduce
10:06:13 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2
10:06:13 AM: (Netlify Build completed in 2m 28.1s)
10:06:13 AM: /opt/build-bin/build: line 142: [: ****: integer expression expected
10:06:13 AM: /opt/build-bin/build: line 148: exit: ****: numeric argument required
10:06:13 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
我只要在环境变量添加CODE或BASE_URL就会报错,只添加OPENAI_API_KEY不会报错可以正常使用,
### Expected Behavior
netlify现在无法发布最新版,只要设置变量就报错
### Screenshots
_No response_
### Deployment Method
- [ ] Docker
- [ ] Vercel
- [ ] Server
### Desktop OS
_No response_
### Desktop Browser
_No response_
### Desktop Browser Version
_No response_
### 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.