Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lockfile is incompatible with netlify version of pnpm #36

Open
francois-baptiste opened this issue Sep 22, 2023 · 1 comment
Open

lockfile is incompatible with netlify version of pnpm #36

francois-baptiste opened this issue Sep 22, 2023 · 1 comment

Comments

@francois-baptiste
Copy link

I have got the error below when deploying to netlify via the readme button.

10:19:30 AM: build-image version: 73f16e520fdddf409be6f578c8c2c8941bdf32d3 (focal)
10:19:30 AM: buildbot version: aae36d37bb0728ee6dc52d97c5e1b5b83720773e
10:19:30 AM: Building without cache
10:19:30 AM: Starting to prepare the repo for build
10:19:30 AM: No cached dependencies found. Cloning fresh repo
10:19:30 AM: git clone --filter=blob:none https://github.com/DemoMacro/hexo-boilerplate-netlify-cms
10:19:31 AM: Preparing Git Reference refs/heads/main
10:19:33 AM: Starting to install dependencies
10:19:33 AM: Python version set to 3.8
10:19:33 AM: Attempting Ruby version 2.7.2, read from environment
10:19:34 AM: Using Ruby version 2.7.2
10:19:34 AM: Started restoring cached go cache
10:19:34 AM: Finished restoring cached go cache
10:19:35 AM: Installing Go version 1.19.13 (requested 1.19.x)
10:19:40 AM: go version go1.19.13 linux/amd64
10:19:40 AM: Using PHP version 8.0
10:19:41 AM: Downloading and installing node v18.18.0...
10:19:41 AM: Downloading https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.xz...
10:19:41 AM: Computing checksum with sha256sum
10:19:42 AM: Checksums matched!
10:19:44 AM: Now using node v18.18.0 (npm v9.8.1)
10:19:44 AM: Enabling Node.js Corepack
10:19:44 AM: Started restoring cached build plugins
10:19:44 AM: Finished restoring cached build plugins
10:19:44 AM: Started restoring cached corepack dependencies
10:19:44 AM: Finished restoring cached corepack dependencies
10:19:44 AM: No pnpm workspaces detected
10:19:44 AM: Started restoring cached node modules
10:19:44 AM: Finished restoring cached node modules
10:19:44 AM: Installing npm packages using pnpm version 8.6.7
10:19:45 AM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
10:19:45 AM:  ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE  Cannot perform a frozen installation because the version of the lockfile is incompatible with this version of pnpm
10:19:45 AM: Try either:
10:19:45 AM: 1. Aligning the version of pnpm that generated the lockfile with the version that installs from it, or
10:19:45 AM: 2. Migrating the lockfile so that it is compatible with the newer version of pnpm, or
10:19:45 AM: 3. Using pnpm install --no-frozen-lockfile.
10:19:45 AM: Note that in CI environments, this setting is enabled by default.
10:19:45 AM: Error during pnpm install
10:19:45 AM: Build was terminated: dependency_installation script returned non-zero exit code: 1
10:19:45 AM: Failing build: Failed to install dependencies
@francois-baptiste
Copy link
Author

#35 fixes this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant