Repository navigation
Closed
Description
Note
This issue is fixed in pnpm version 11.13
Problem
I encountered an error when trying to install pnpm 11.12 using action-setup.
action-setup version: uses: pnpm/[email protected]
Github Action log:
Run pnpm/[email protected]
Running self-installer...
added 1 package, and audited 2 packages in 2s
1 package is looking for funding
run `npm fund` for details
1 high severity vulnerability
To address all issues, run:
npm audit fix --force
Run `npm audit` for details.
Checking for updates...
Switching pnpm from v11.7.0 to v11.12.0...
Error: Cannot use 'in' operator to search for 'integrity' in undefined
pnpm: Cannot use 'in' operator to search for 'integrity' in undefined
at createFullPkgId (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:154891:19)
at lockfileToDepGraph (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:154840:20)
at hashDependencyPaths (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:179640:17)
at iteratePkgsForVirtualStore (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:179594:44)
at iteratePkgsForVirtualStore.next (<anonymous>)
at buildGraphFromPackages (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:179699:43)
at lockfileToDepGraph2 (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:179656:73)
at headlessInstall (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:185801:288)
at async installFromLockfile (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:238383:3)
at async installPnpmToGlobalDir (file:///home/runner/setup-pnpm/node_modules/pnpm/dist/pnpm.mjs:238350:7)
Error: Something went wrong, self-installer exits with code 1
I specified the packageManager in package.json:
{
"name": "peta-solat",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"devDependencies": {
"typescript": "~6.0.2",
"vite": "^8.1.1"
},
"dependencies": {
"@tailwindcss/vite": "^4.3.2",
"maplibre-gl": "^5.24.0",
"tailwindcss": "^4.3.2"
},
"packageManager": "[email protected]+sha512.820a6fbd0d9f04c226638002aead1e45340a9139dd5dc077c1d83ef44aa2481c8eb6637b4c9aa696a3c7e35ba818e49cf27213e5f2b91138d09b7a3e26e898ba"
}Action workflow file:
name: Deploy site to Pages
on:
push:
branches: ["main"]
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: "24"
- name: Setup Pages
id: pages
uses: actions/[email protected]
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build app
run: |
pnpm run build --base "${{ steps.pages.outputs.base_path }}"
- name: Upload artifact
uses: actions/[email protected]
with:
path: dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-slim
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/[email protected]
Workaround
Pin to pnpm 11.11. Eg corepack use [email protected]
Reacted by Akshay Raj Gollahalli, ntnyq, futsuuu, Vincent Vu, Samuel MARLHENS, Fllavian, Kevin Deng, Ari Perkkiö, Krzysztof Nasuta, Volodymyr Rets and 77 more
Metadata
Metadata
Assignees
Labels
No labels
Activity
ntnyq commentedon Jul 12, 2026
Workaround: pin pnpm at v11.11.0
fix(ci): pin pnpm to 11.11.0 and dedupe pnpm setup into a composite a…
chore: upgrade to pnpm 11 and enable the global virtual store (#214)
rubixvi commentedon Jul 12, 2026
probably want to drop it back to 11.10.0, 11.11.0 is bugged for electron apps.
fix: downgrade pnpm from 11.12.0 to 11.11.0 to avoid self-installer c…
💚 ci: pnpm/action-setup@v6 standalone mode — workaround self-installe…
TKT-42 ⚡ Gate speedup: host-built smoke images, prebuilt linter, CI c…
fix: use corepack for pnpm in CI to avoid action-setup self-installer…
build: pin pnpm to 11.11.0 to avoid action-setup self-installer crash
build: pin pnpm to 11.11.0 to avoid action-setup self-installer crash
build: pin pnpm to 11.11.0 to avoid action-setup self-installer crash
build: pin pnpm to 11.11.0 to avoid action-setup self-installer crash
Ping pnpm version
Ping pnpm version
ci: pin pnpm to 11.11.0 to avoid broken 11.12.0
63 remaining items
iqfareez commentedon Jul 15, 2026
Can confirm pnpm 11.13 no longer have the issue. Guess I'll close it.
chore: bump pnpm to v11.13.1
ci: gate deploy on pipeline, harden workflows, restore action-setup
fix(self-updater): key the env lockfile packages lookup by pkgIdWithP…
chore(pnpm): self-installer is bugged pnpm/action-setup#276
chore(pnpm): self-installer is bugged 2x pnpm/action-setup#276
chore: up deps (#666)
ci(web): pin pnpm to 11.11.0 to avoid installer bug
feat(web): redirect logged-in users from root to /threads (opt-in) (#950
fix: Cannot use 'in' operator to search for 'integrity' in undefined
Get rid of pnpm (#10)
ci: bump pnpm from broken 11.12.0 to 11.18.0 (#45)
build(deps): bump dependencies to latest compatible versions (#1885)
Unblock the Dependabot queue: drop direct geotiff, fix the pnpm pin, …