Open nowindnowave opened 2 months ago
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不会报错可以正常使用,
netlify现在无法发布最新版,只要设置变量就报错
No response
Bot detected the issue body's language is not English, translate it automatically. Title: [Bug] netlify cannot release the latest version now, and an error will be reported whenever variables are set.
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] netlify cannot release the latest version now, and an error will be reported whenever variables are set.
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
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