2:05:11 AM: build-image version: 0143b4617dd9b5b3faed2aefa29c54a846e69aae (focal)
2:05:11 AM: buildbot version: 0143b4617dd9b5b3faed2aefa29c54a846e69aae
2:05:11 AM: Fetching cached dependencies
2:05:12 AM: Starting to download cache of 143.0MB
2:05:14 AM: Finished downloading cache in 2.919s
2:05:14 AM: Starting to extract cache
2:05:16 AM: Finished extracting cache in 1.848s
2:05:16 AM: Finished fetching cache in 4.832s
2:05:16 AM: Starting to prepare the repo for build
2:05:16 AM: Preparing Git Reference refs/heads/fe-release
2:05:18 AM: Custom build path detected. Proceeding with the specified path: "trecord"
2:05:18 AM: Custom publish path detected. Proceeding with the specified path: "trecord/dist"
2:05:18 AM: manpath: warning: $PATH not set
2:05:18 AM: Starting to install dependencies
2:05:18 AM: Python version set to 3.8
2:05:19 AM: Attempting Ruby version 2.7.2, read from environment
2:05:19 AM: Using Ruby version 2.7.2
2:05:20 AM: Started restoring cached go cache
2:05:20 AM: Finished restoring cached go cache
2:05:20 AM: go version go1.19.13 linux/amd64
2:05:20 AM: Using PHP version 8.0
2:05:21 AM: Started restoring cached Node.js version
2:05:22 AM: Finished restoring cached Node.js version
2:05:22 AM: Downloading and installing node v18.18.0...
2:05:22 AM: Downloading https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.xz...
2:05:22 AM: Computing checksum with sha256sum
2:05:23 AM: Checksums matched!
2:05:24 AM: Enabling Node.js Corepack
2:05:24 AM: Started restoring cached build plugins
2:05:24 AM: Finished restoring cached build plugins
2:05:24 AM: Started restoring cached corepack dependencies
2:05:24 AM: Finished restoring cached corepack dependencies
2:05:24 AM: No npm workspaces detected
2:05:24 AM: Started restoring cached node modules
2:05:24 AM: Finished restoring cached node modules
2:05:25 AM: Failed during stage "Install dependencies": dependency_installation script returned non-zero exit code: 1
2:05:25 AM: Installing npm packages using npm version 9.8.1
2:05:25 AM: npm ERR! code EBADPLATFORM
2:05:25 AM: npm ERR! notsup Unsupported platform for esbuild-darwin-arm64@0.15.18: wanted {"os":"darwin","cpu":"arm64"} (current: {"os":"linux","cpu":"x64"})
2:05:25 AM: npm ERR! notsup Valid os: darwin
2:05:25 AM: npm ERR! notsup Actual os: linux
2:05:25 AM: npm ERR! notsup Valid cpu: arm64
2:05:25 AM: npm ERR! notsup Actual cpu: x64
2:05:25 AM: npm ERR! A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2023-10-02T17_05_25_387Z-debug-0.log
2:05:25 AM: Error during npm install
2:05:25 AM: Build was terminated: dependency_installation script returned non-zero exit code: 1
2:05:25 AM: Failing build: Failed to install dependencies
2:05:26 AM: Finished processing build request in 14.37s
This error has occurred, how do I fix it?