sylveon / discord-ban-appeals

Sample ban appeals page with OAuth2 integration
https://discord-ban-appeal-preview.netlify.app/
MIT License
140 stars 48 forks source link

Building Failed #84

Open Exie610 opened 6 days ago

Exie610 commented 6 days ago

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)