6:47:45 PM: build-image version: c440bb785c036c7461456dcbf56442db2c6157c7 (noble)
6:47:45 PM: buildbot version: c440bb785c036c7461456dcbf56442db2c6157c7
6:47:45 PM: Building without cache
6:47:45 PM: Starting to prepare the repo for build
6:47:45 PM: No cached dependencies found. Cloning fresh repo
6:47:45 PM: git clone --filter=blob:none https://github.com/antergone/palm-netlify-proxy
6:47:46 PM: Preparing Git Reference refs/heads/main
6:47:47 PM: Pushing to repository git@github.com:DestoryG/palm-netlify-proxy
6:47:48 PM: Custom functions path detected. Proceeding with the specified path: 'netlify/functions'
6:47:48 PM: Starting to install dependencies
6:47:50 PM: Downloading and installing node v22.18.0...
6:47:50 PM: Downloading https://nodejs.org/dist/v22.18.0/node-v22.18.0-linux-x64.tar.xz...
6:47:50 PM: Computing checksum with sha256sum
6:47:50 PM: Checksums matched!
6:47:54 PM: Now using node v22.18.0 (npm v10.9.3)
6:47:54 PM: Enabling Node.js Corepack
6:47:54 PM: Started restoring cached build plugins
6:47:54 PM: Finished restoring cached build plugins
6:47:54 PM: Started restoring cached corepack dependencies
6:47:54 PM: Finished restoring cached corepack dependencies
6:47:54 PM: No npm workspaces detected
6:47:54 PM: Started restoring cached node modules
6:47:54 PM: Finished restoring cached node modules
6:47:54 PM: Installing npm packages using npm version 10.9.3
6:47:55 PM: added 1 package in 581ms
6:47:55 PM: npm packages installed
6:47:55 PM: Successfully installed dependencies
6:47:55 PM: Starting build script
6:47:56 PM: Detected 0 framework(s)
6:47:56 PM: Section completed: initializing
6:47:57 PM:
6:47:57 PM: Netlify Build
6:47:57 PM: ────────────────────────────────────────────────────────────────
6:47:57 PM:
6:47:57 PM: ❯ Version
6:47:57 PM: @netlify/build 35.0.0
6:47:57 PM:
6:47:57 PM: ❯ Flags
6:47:57 PM: accountId: 688de8a68f943564d5d72585
6:47:57 PM: baseRelDir: true
6:47:57 PM: buildId: 688decd0fd3c3cb8339c4948
6:47:57 PM: deployId: 688decd0fd3c3cb8339c494a
6:47:58 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:47:58 PM:
6:47:58 PM: ❯ Current directory
6:47:58 PM: /opt/build/repo
6:47:58 PM:
6:47:58 PM: ❯ Config file
6:47:58 PM: /opt/build/repo/netlify.toml
6:47:58 PM:
6:47:58 PM: ❯ Context
6:47:58 PM: production
6:47:58 PM:
6:47:58 PM: Functions bundling
6:47:58 PM: ────────────────────────────────────────────────────────────────
6:47:58 PM:
6:47:58 PM: Packaging Functions from netlify/functions directory:
6:47:58 PM: - proxy.ts
6:47:58 PM:
6:47:58 PM:
6:47:58 PM: (Functions bundling completed in 125ms)
6:47:58 PM:
6:47:58 PM: Deploy site
6:47:58 PM: ────────────────────────────────────────────────────────────────
6:47:58 PM:
6:47:58 PM:
6:47:58 PM: Configuration error
6:47:58 PM: ────────────────────────────────────────────────────────────────
6:47:58 PM:
6:47:58 PM: Error message
6:47:58 PM: Deploy did not succeed: Build cancelled, found file owned by root
6:47:58 PM:
6:47:58 PM: Resolved config
6:47:58 PM: build:
6:47:58 PM: publish: /opt/build/repo
6:47:58 PM: publishOrigin: ui
6:47:58 PM: functionsDirectory: /opt/build/repo/netlify/functions
6:47:58 PM: headers:
6:47:58 PM: - for: /*
values:
Access-Control-Allow-Headers: "*"
Access-Control-Allow-Methods: "*"
Access-Control-Allow-Origin: "*"
headersOrigin: config
redirects:
- force: true
from: /*
status: 200
to: /.netlify/functions/proxy
redirectsOrigin: config
6:47:58 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:47:58 PM: Failing build: Failed to build site
6:47:58 PM: Finished processing build request in 13.531s
netlify提示部署失败
日志: