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

[Bug] netlify现在无法发布最新版,只要设置变量就报错 #4698

Open
3 tasks
nowindnowave opened this issue May 15, 2024 · 1 comment
Open
3 tasks
Labels
bug Something isn't working

Comments

@nowindnowave
Copy link

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

@nowindnowave nowindnowave added the bug Something isn't working label May 15, 2024
@Issues-translate-bot
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants