Problem with dependency pnpm

Hi
I’m having issues with my deploy, apparently pnpm (?) is blocked somehow, even it worked on the first deploy. Would appreciate some help!


10:29:46 PM: build-image version: fcb0c1b3ada6d25c1cb58e8bc514f5f23cc14f15 (focal)
10:29:46 PM: buildbot version: 2003611e3bb7348fdcaaf48430d0722f44f1cda4
10:29:47 PM: Fetching cached dependencies
10:29:47 PM: Starting to download cache of 181.8MB
10:29:48 PM: Finished downloading cache in 1.329s
10:29:48 PM: Starting to extract cache
10:29:50 PM: Finished extracting cache in 2.307s
10:29:50 PM: Finished fetching cache in 3.697s
10:29:50 PM: Starting to prepare the repo for build
10:29:51 PM: Preparing Git Reference refs/heads/main
10:29:54 PM: Starting to install dependencies
10:29:57 PM: Python version set to 3.8
10:29:57 PM: Attempting Ruby version 2.7.2, read from environment
10:29:58 PM: Using Ruby version 2.7.2
10:29:58 PM: Started restoring cached go cache
10:29:58 PM: Finished restoring cached go cache
10:30:00 PM: go version go1.19.13 linux/amd64
10:30:01 PM: Using PHP version 8.0
10:30:02 PM: Started restoring cached Node.js version
10:30:03 PM: Finished restoring cached Node.js version
10:30:03 PM: Downloading and installing node v18.20.1...
10:30:03 PM: Downloading https://nodejs.org/dist/v18.20.1/node-v18.20.1-linux-x64.tar.xz...
10:30:04 PM: Computing checksum with sha256sum
10:30:04 PM: Checksums matched!
10:30:06 PM: Now using node v18.20.1 (npm v10.5.0)
10:30:06 PM: Enabling Node.js Corepack
10:30:06 PM: Started restoring cached build plugins
10:30:06 PM: Finished restoring cached build plugins
10:30:06 PM: Started restoring cached corepack dependencies
10:30:06 PM: Finished restoring cached corepack dependencies
10:30:06 PM: Started restoring cached pnpm cache
10:30:06 PM: Finished restoring cached pnpm cache
10:30:06 PM: Internal Error: Server answered with HTTP 404 when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-6.3.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
10:30:06 PM:     at fetch (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22889:11)
10:30:06 PM:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
10:30:06 PM:     at async fetchUrlStream (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22914:20)
10:30:06 PM:     at async installVersion (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23084:18)
10:30:06 PM:     at async Engine.ensurePackageManager (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23380:32)
10:30:06 PM:     at async executePackageManagerRequest (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24236:23)
10:30:06 PM:     at async BinaryCommand.validateAndExecute (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21173:22)
10:30:06 PM:     at async _Cli.run (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22148:18)
10:30:06 PM:     at async Object.runMain (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24279:12)
10:30:06 PM: Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-6.3.2.tgz.
10:30:07 PM: /opt/build-bin/run-build-functions.sh: line 236: [: Internal Error: Server answered with HTTP 404 when performing the request to https://registry
10:30:07 PM:     at fetch (/opt/buildhome/
10:30:07 PM:     at process
10:30:07 PM:     at async fetchUrlStream (/opt/buildhome/
10:30:07 PM:     at async installVersion (/opt/buildhome/
10:30:07 PM:     at async Engine
10:30:07 PM:     at async executePackageManagerRequest (/opt/buildhome/
10:30:07 PM:     at async BinaryCommand
10:30:07 PM:     at async _Cli
10:30:07 PM:     at async Object: integer expression expected
10:30:07 PM: Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-6.3.2.tgz.
10:30:07 PM: Installing npm packages using pnpm version Internal Error: Server answered with HTTP 404 when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-6.3.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
10:30:07 PM:     at fetch (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22889:11)
10:30:07 PM:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
10:30:07 PM:     at async fetchUrlStream (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22914:20)
10:30:07 PM:     at async installVersion (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23084:18)
10:30:07 PM:     at async Engine.ensurePackageManager (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23380:32)
10:30:07 PM:     at async executePackageManagerRequest (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24236:23)
10:30:07 PM:     at async BinaryCommand.validateAndExecute (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21173:22)
10:30:07 PM:     at async _Cli.run (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22148:18)
10:30:07 PM:     at async Object.runMain (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24279:12)
10:30:07 PM: Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-6.3.2.tgz.
10:30:08 PM: Failed during stage "Install dependencies": dependency_installation script returned non-zero exit code: 1
10:30:08 PM: Internal Error: Server answered with HTTP 404 when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-6.3.2.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
10:30:08 PM:     at fetch (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22889:11)
10:30:08 PM:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
10:30:08 PM:     at async fetchUrlStream (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22914:20)
10:30:08 PM:     at async installVersion (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23084:18)
10:30:08 PM:     at async Engine.ensurePackageManager (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23380:32)
10:30:08 PM:     at async executePackageManagerRequest (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24236:23)
10:30:08 PM:     at async BinaryCommand.validateAndExecute (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21173:22)
10:30:08 PM:     at async _Cli.run (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22148:18)
10:30:08 PM:     at async Object.runMain (/opt/buildhome/.nvm/versions/node/v18.20.1/lib/node_modules/corepack/dist/lib/corepack.cjs:24279:12)
10:30:08 PM: Error during pnpm install
10:30:08 PM: Failing build: Failed to install dependencies
10:30:09 PM: Finished processing build request in 22.176s

6.3.2 doesn’t seem to be a valid version: pnpm - npm (npmjs.com)

1 Like

thanks a lot! we changed the version and it worked!