Site https://kaheglar-remix.netlify.app/
Failure when redeploying the currently deployed Remix application, which deployed successfully a couple of weeks ago.
Error Log:
1:24:39 PM: Build ready to start
1:24:40 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
1:24:40 PM: build-image tag: v4.10.1
1:24:40 PM: buildbot version: 1c362ef848ac5e35535bdb572ebca893db28c8a0
1:24:40 PM: Fetching cached dependencies
1:24:41 PM: Starting to download cache of 132.1MB
1:24:41 PM: Finished downloading cache in 801.686108ms
1:24:41 PM: Starting to extract cache
1:24:43 PM: Finished extracting cache in 1.232274322s
1:24:43 PM: Finished fetching cache in 2.094625179s
1:24:43 PM: Starting to prepare the repo for build
1:24:43 PM: Preparing Git Reference refs/heads/netlify
1:24:43 PM: Parsing package.json dependencies
1:24:44 PM: Starting build script
1:24:44 PM: Installing dependencies
1:24:44 PM: Python version set to 2.7
1:24:45 PM: Started restoring cached node version
1:24:45 PM: Finished restoring cached node version
1:24:46 PM: Downloading and installing node v16.17.1...
1:24:46 PM: Downloading https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.xz...
1:24:46 PM: Computing checksum with sha256sum
1:24:46 PM: Checksums matched!
1:24:48 PM: Now using node v16.17.1 (npm v8.15.0)
1:24:48 PM: Started restoring cached build plugins
1:24:48 PM: Finished restoring cached build plugins
1:24:48 PM: Attempting ruby version 2.7.2, read from environment
1:24:49 PM: Using ruby version 2.7.2
1:24:49 PM: Using PHP version 8.0
1:24:49 PM: WARNING: The environment variable 'NODE_ENV' is set to 'production'. Any 'devDependencies' in package.json will not be installed
1:24:49 PM: No npm workspaces detected
1:24:49 PM: Started restoring cached node modules
1:24:49 PM: Finished restoring cached node modules
1:24:49 PM: Installing NPM modules using NPM version 8.15.0
1:24:50 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:24:50 PM: npm WARN config location in the cache, and they are managed by
1:24:50 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:24:50 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:24:50 PM: npm WARN config location in the cache, and they are managed by
1:24:50 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:24:52 PM: added 1 package, removed 8 packages, changed 89 packages, and audited 91 packages in 2s
1:24:52 PM: 37 packages are looking for funding
1:24:52 PM: run `npm fund` for details
1:24:52 PM: found 0 vulnerabilities
1:24:52 PM: NPM modules installed
1:24:52 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:24:52 PM: npm WARN config location in the cache, and they are managed by
1:24:52 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:24:52 PM: Started restoring cached go cache
1:24:52 PM: Finished restoring cached go cache
1:24:52 PM: Installing Go version 1.17 (requested 1.17)
1:24:56 PM: unset GOOS;
1:24:56 PM: unset GOARCH;
1:24:56 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64';
1:24:56 PM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}";
1:24:56 PM: go version >&2;
1:24:56 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env"
1:24:57 PM: go version go1.17 linux/amd64
1:24:57 PM: Installing missing commands
1:24:57 PM: Verify run directory
1:24:58 PM:
1:24:58 PM: ────────────────────────────────────────────────────────────────
1:24:58 PM: Netlify Build
1:24:58 PM: ────────────────────────────────────────────────────────────────
1:24:58 PM:
1:24:58 PM: ❯ Version
1:24:58 PM: @netlify/build 27.18.4
1:24:58 PM:
1:24:58 PM: ❯ Flags
1:24:58 PM: baseRelDir: true
1:24:58 PM: buildId: 6332eb87cf2d8f33e3058780
1:24:58 PM: deployId: 6332eb87cf2d8f33e3058782
1:24:58 PM:
1:24:58 PM: ❯ Current directory
1:24:58 PM: /opt/build/repo
1:24:58 PM:
1:24:58 PM: ❯ Config file
1:24:58 PM: /opt/build/repo/netlify.toml
1:24:58 PM:
1:24:58 PM: ❯ Context
1:24:58 PM: production
1:24:58 PM:
1:24:58 PM: ────────────────────────────────────────────────────────────────
1:24:58 PM: 1. build.command from netlify.toml
1:24:58 PM: ────────────────────────────────────────────────────────────────
1:24:58 PM:
1:24:58 PM: $ remix build
1:24:58 PM: bash: remix: command not found
1:24:58 PM:
1:24:58 PM: ────────────────────────────────────────────────────────────────
1:24:58 PM: "build.command" failed
1:24:58 PM: ────────────────────────────────────────────────────────────────
1:24:58 PM:
1:24:58 PM: Error message
1:24:58 PM: Command failed with exit code 127: remix build (https://ntl.fyi/exit-code-127)
1:24:58 PM:
1:24:58 PM: Error location
1:24:58 PM: In build.command from netlify.toml:
1:24:58 PM: remix build
1:24:58 PM:
1:24:58 PM: Resolved config
1:24:58 PM: build:
1:24:58 PM: command: remix build
1:24:58 PM: commandOrigin: config
1:24:58 PM: environment:
1:24:58 PM: - NODE_ENV
1:24:58 PM: publish: /opt/build/repo/public
1:24:58 PM: publishOrigin: config
1:24:58 PM: headers:
1:24:58 PM: - for: /build/* values: Cache-Control: public, max-age=31536000, s-maxage=31536000 headersOrigin: config redirects: - from: /* status: 200 to: /.netlify/functions/server redirectsOrigin: configCaching artifacts
1:24:58 PM: Started saving node modules
1:24:58 PM: Finished saving node modules
1:24:58 PM: Started saving build plugins
1:24:58 PM: Finished saving build plugins
1:24:58 PM: Started saving pip cache
1:24:58 PM: Finished saving pip cache
1:24:58 PM: Started saving emacs cask dependencies
1:24:58 PM: Finished saving emacs cask dependencies
1:24:58 PM: Started saving maven dependencies
1:24:58 PM: Finished saving maven dependencies
1:24:58 PM: Started saving boot dependencies
1:24:58 PM: Finished saving boot dependencies
1:24:58 PM: Started saving rust rustup cache
1:24:58 PM: Finished saving rust rustup cache
1:24:58 PM: Started saving go dependencies
1:24:58 PM: Finished saving go dependencies
1:24:59 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
1:24:59 PM: Creating deploy upload records
1:25:00 PM: Failing build: Failed to build site
1:25:00 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
1:25:00 PM: Finished processing build request in 19.31877794s
Thanks