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

Building Failed #84

Open
Exie610 opened this issue Oct 26, 2024 · 1 comment
Open

Building Failed #84

Exie610 opened this issue Oct 26, 2024 · 1 comment
Labels

Comments

@Exie610
Copy link

Exie610 commented Oct 26, 2024

When deploying, I get this error:

4:04:03 PM: $ node --unhandled-rejections=strict build.js
4:04:04 PM: Forbidden
4:04:04 PM: ​
4:04:04 PM: "build.command" failed
4:04:04 PM: ────────────────────────────────────────────────────────────────
4:04:04 PM: ​
4:04:04 PM: Error message
4:04:04 PM: Command failed with exit code 1: node --unhandled-rejections=strict build.js (https://ntl.fyi/exit-code-1)
4:04:04 PM: ​
4:04:04 PM: Error location
4:04:04 PM: In build.command from netlify.toml:
4:04:04 PM: node --unhandled-rejections=strict build.js
4:04:04 PM: ​
4:04:04 PM: Resolved config
4:04:04 PM: build:
4:04:04 PM: command: node --unhandled-rejections=strict build.js
4:04:04 PM: commandOrigin: config
4:04:04 PM: environment:
4:04:04 PM: - APPEALS_CHANNEL
4:04:04 PM: - DISCORD_BOT_TOKEN
4:04:04 PM: - DISCORD_CLIENT_ID
4:04:04 PM: - DISCORD_CLIENT_SECRET
4:04:04 PM: - GUILD_ID
4:04:04 PM: - JWT_SECRET
4:04:04 PM: - AWS_LAMBDA_JS_RUNTIME
4:04:04 PM: processing:
4:04:04 PM: html:
4:04:04 PM: pretty_urls: true
4:04:04 PM: publish: /opt/build/repo/public
4:04:04 PM: publishOrigin: config
4:04:04 PM: functions:
4:04:04 PM: '*':
4:04:04 PM: node_bundler: esbuild
4:04:04 PM: functionsDirectory: /opt/build/repo/func
4:04:04 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
4:04:04 PM: Failing build: Failed to build site
4:04:04 PM: Finished processing build request in 17.987s
4:04:04 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant