Skip to content

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

@nosignal-xx

Description

@nosignal-xx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions