Skip to content

v2.0.2 failing #29

Open
Open

Description

@IGx89

Last week I was using v2.0.0 without issue, but now with v2.0.2 my jobs are getting this error:

Installing pnpm...
  Downloading pnpm 11.13.0 from the npm registry
  ==> Downloading pnpm 11.13.0
Error: ENOENT: no such file or directory, rename '/github/home/setup-pnpm/.unpack/@pnpm-linux-x64/package/pnpm' -> '/github/home/setup-pnpm/pnpm'
    at Object.renameSync (node:fs:1013:11)
Error: Error: ENOENT: no such file or directory, rename '/github/home/setup-pnpm/.unpack/@pnpm-linux-x64/package/pnpm' -> '/github/home/setup-pnpm/pnpm'
    at SCe (/__w/_actions/pnpm/setup/v2/dist/index.js:326:843)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async xCe (/__w/_actions/pnpm/setup/v2/dist/index.js:328:146)
    at async sNt (/__w/_actions/pnpm/setup/v2/dist/index.js:328:1546)
    at async aNt (/__w/_actions/pnpm/setup/v2/dist/index.js:338:421)
    at async BNt (/__w/_actions/pnpm/setup/v2/dist/index.js:338:3917)
    at async CNt (/__w/_actions/pnpm/setup/v2/dist/index.js:338:3802) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/setup-pnpm/.unpack/@pnpm-linux-x64/package/pnpm',
  dest: '/github/home/setup-pnpm/pnpm'
}

Activity

  1. palfrey commented on Sep 2, 2026

    @palfrey

    Seeing the same thing with 2.1.0

  2. palfrey commented on Sep 18, 2026

    @palfrey

    #24 tested against pnpm 11.20.0, so I tried that instead and that works fine. OffchainLabs/arbitrum-portal@bb9d1f3 indicates that 11.13.1 and up should work, but 11.13.0 and lower don't.

    It would be nice if this action flagged that rather than just breaking!

  3. luis-vidal040 commented on Sep 21, 2026

    @luis-vidal040

    Still seeing this error with 11.25.0 on github runners (ubuntu-24.04-arm):

    Installing pnpm...
        Downloading pnpm 11.25.0 from the npm registry
        ==> Downloading pnpm 11.25.0
      Error: EACCES, Permission denied: /home/runner/setup-pnpm/.unpack '/home/runner/setup-pnpm/.unpack'
          at Object.rmSync (node:fs:1283:18)
      Error: Error: EACCES, Permission denied: /home/runner/setup-pnpm/.unpack '/home/runner/setup-pnpm/.unpack'
          at l8 (/home/runner/work/_actions/pnpm/setup/fbda4c85fc2e1e08721cd8763afea8f48d60f024/dist/index.js:261:1180)
          at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
          at async d8 (/home/runner/work/_actions/pnpm/setup/fbda4c85fc2e1e08721cd8763afea8f48d60f024/dist/index.js:263:145)
          at async rSe (/home/runner/work/_actions/pnpm/setup/fbda4c85fc2e1e08721cd8763afea8f48d60f024/dist/index.js:263:1530)
          at async iSe (/home/runner/work/_actions/pnpm/setup/fbda4c85fc2e1e08721cd8763afea8f48d60f024/dist/index.js:273:404)
          at async QSe (/home/runner/work/_actions/pnpm/setup/fbda4c85fc2e1e08721cd8763afea8f48d60f024/dist/index.js:273:7814)
          at async BSe (/home/runner/work/_actions/pnpm/setup/fbda4c85fc2e1e08721cd8763afea8f48d60f024/dist/index.js:273:7728) {
        errno: 13,
        code: 'EACCES',
        path: '/home/runner/setup-pnpm/.unpack',
        syscall: 'rm'
      }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions