Hi everyone,
I’ve been deploying just fine from GitHub until now. Checked the build docs & support guide to no avail. I receive an error with the following in the deploy log:
6:08:58 PM: build-image version: 4c0c1cadee6a31c9bb8d824514030009c4c05c6a (focal)
6:08:58 PM: build-image tag: v4.15.0
6:08:58 PM: buildbot version: 890f1c905757ec78258e79d23800d042a04d4cda
6:08:58 PM: Fetching cached dependencies
6:08:58 PM: Starting to download cache of 141.8MB
6:08:59 PM: Finished downloading cache in 1.500474095s
6:08:59 PM: Starting to extract cache
6:09:00 PM: Finished extracting cache in 1.198680391s
6:09:00 PM: Finished fetching cache in 2.746397479s
6:09:00 PM: Starting to prepare the repo for build
6:09:01 PM: Preparing Git Reference refs/heads/main
6:09:01 PM: Parsing package.json dependencies
6:09:02 PM: Section completed: initializing
6:09:02 PM: Starting build script
6:09:02 PM: Installing dependencies
6:09:02 PM: Python version set to 2.7
6:09:02 PM: Started restoring cached node version
6:09:03 PM: Finished restoring cached node version
6:09:03 PM: v16.18.1 is already installed.
6:09:04 PM: Now using node v16.18.1 (npm v8.19.2)
6:09:04 PM: Enabling node corepack
6:09:04 PM: Started restoring cached build plugins
6:09:04 PM: Finished restoring cached build plugins
6:09:04 PM: Attempting ruby version 2.7.2, read from environment
6:09:04 PM: Using ruby version 2.7.2
6:09:05 PM: Using PHP version 8.0
6:09:05 PM: No pnpm workspaces detected
6:09:05 PM: Started restoring cached node modules
6:09:05 PM: Finished restoring cached node modules
6:09:05 PM: Installing NPM modules using PNPM version 7.13.4
6:09:06 PM: Lockfile is up to date, resolution step is skipped
6:09:06 PM: ERR_PNPM_OUTDATED_LOCKFILE Cannot install with “frozen-lockfile” because pnpm-lock.yaml is not up to date with package.json
6:09:06 PM: Note that in CI environments this setting is true by default. If you still need to run install in such cases, use “pnpm install --no-frozen-lockfile”
6:09:06 PM: Creating deploy upload records
6:09:06 PM: Error during PNPM install
6:09:06 PM: Build was terminated: Build script returned non-zero exit code: 1
6:09:06 PM: Failing build: Failed to build site
6:09:06 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1 (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
6:09:06 PM: Finished processing build request in 8.357820878s
Kindly assist, as I’'m a beginner developer with minimal experience.
Thank you