raidensakura / kofi-discord-notification

Serverless Express app running on Netlify Functions to send Ko-fi donation to Discord
MIT License
9 stars 0 forks source link

Deploy did not succeed: Build cancelled, found file owned by root #1

Open MrRelliks opened 2 weeks ago

MrRelliks commented 2 weeks ago

When i try to deploy i get this error

Deploy did not succeed: Build cancelled, found file owned by root

11:26:55 AM: Configuration error
11:26:55 AM: ──────────────────────────────────────────────────────────────── 11:26:55 AM: ​ 11:26:55 AM: Error message 11:26:55 AM: Deploy did not succeed: Build cancelled, found file owned by root 11:26:55 AM: ​ 11:26:55 AM: Resolved config 11:26:55 AM: build: 11:26:55 AM: environment: 11:26:55 AM: - KOFI_TOKEN 11:26:55 AM: - KOFI_USERNAME 11:26:55 AM: - WEBHOOK_URL 11:26:55 AM: publish: /opt/build/repo 11:26:55 AM: publishOrigin: ui 11:26:55 AM: functionsDirectory: /opt/build/repo/netlify/functions 11:26:56 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) 11:26:56 AM: Build failed due to a user error: Build script returned non-zero exit code: 2 11:26:56 AM: Failing build: Failed to build site

raidensakura commented 2 weeks ago

Try "Clear cache and deploy site" under "Trigger Deploy"

MrRelliks commented 2 weeks ago

Try "Clear cache and deploy site" under "Trigger Deploy"

Same error