Failed during stage 'building site': Build script returned non-zero exit code

Please help with this deployment.

Site name: scaffolding-hire-solutions.netlify.app

3:08:36 PM: build-image version: ac6eb13fbf000e5c09ad677efd8b7c3c2d0142b6 (noble-new-builds)
3:08:36 PM: buildbot version: 361b8ae7783dcf11554627378e75c829cc866748
3:08:36 PM: Fetching cached dependencies
3:08:36 PM: Failed to fetch cache, continuing with build
3:08:36 PM: Starting to prepare the repo for build
3:08:36 PM: No cached dependencies found. Cloning fresh repo
3:08:36 PM: git clone --filter=blob:none https://github.com/nsaban/scaffolding-hire-solutions
3:08:37 PM: Preparing Git Reference refs/heads/main
3:08:41 PM: Installing dependencies
3:08:41 PM: mise ~/.config/mise/config.toml tools: python@3.14.3
3:08:41 PM: mise ~/.config/mise/config.toml tools: ruby@3.4.8
3:08:41 PM: mise ~/.config/mise/config.toml tools: go@1.26.2
3:08:42 PM: v22.22.2 is already installed.
3:08:42 PM: Now using node v22.22.2 (npm v10.9.7)
3:08:42 PM: Enabling Node.js Corepack
3:08:42 PM: No npm workspaces detected
3:08:42 PM: Installing npm packages using npm version 10.9.7
3:08:43 PM: added 10 packages in 1s
3:08:43 PM: npm packages installed
3:08:44 PM: Successfully installed dependencies
3:08:44 PM: Detected 1 framework(s)
3:08:44 PM: “astro” at version “5.18.1”
3:08:44 PM: Starting build script
3:08:45 PM: Section completed: initializing
3:08:46 PM: ​
3:08:46 PM: Netlify Build
3:08:46 PM: ────────────────────────────────────────────────────────────────
3:08:46 PM: ​
3:08:46 PM: ❯ Version
3:08:46 PM: @netlify/build 35.13.4
3:08:46 PM: ​
3:08:46 PM: ❯ Flags
3:08:46 PM: accountId: 689f3a8988f95afdfe16ba82
3:08:46 PM: baseRelDir: true
3:08:46 PM: buildId: 69fb3d538758916b2bc04b91
3:08:46 PM: deployId: 69fb3d538758916b2bc04b93
3:08:46 PM: ​
3:08:46 PM: ❯ Current directory
3:08:46 PM: /opt/build/repo
3:08:46 PM: ​
3:08:46 PM: ❯ Config file
3:08:46 PM: No config file was defined: using default values.
3:08:46 PM: ​
3:08:46 PM: ❯ Context
3:08:46 PM: production
3:08:46 PM: ​
3:08:46 PM: Build command from Netlify app
3:08:46 PM: ────────────────────────────────────────────────────────────────
3:08:46 PM: ​
3:08:46 PM: $ npm run build
3:08:47 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 ( Search results for '"non-zero exit code: 2"' - Netlify Support Forums )
3:08:47 PM: > scaffolding-hire-solutions@2.0.0 build
3:08:47 PM: > astro build
3:08:47 PM: sh: 1: astro: Permission denied
3:08:47 PM: ​
3:08:47 PM: “build.command” failed
3:08:47 PM: ────────────────────────────────────────────────────────────────
3:08:47 PM: ​
3:08:47 PM: Error message
3:08:47 PM: Command failed with exit code 127: npm run build ( Search results for '"non-zero exit code: 127"' - Netlify Support Forums )
3:08:47 PM: ​
3:08:47 PM: Error location
3:08:47 PM: In Build command from Netlify app:
3:08:47 PM: npm run build
3:08:47 PM: ​
3:08:47 PM: Resolved config
3:08:47 PM: build:
3:08:47 PM: command: npm run build
3:08:47 PM: commandOrigin: ui
3:08:47 PM: publish: /opt/build/repo/dist
3:08:47 PM: publishOrigin: ui
3:08:47 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:08:47 PM: Failing build: Failed to build site
3:08:47 PM: Finished processing build request in 11.663s