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

ENOENT: no such file or directory, uv_cwd on self arm64 runner #49

Open
Satont opened this issue Jun 18, 2022 · 0 comments
Open

ENOENT: no such file or directory, uv_cwd on self arm64 runner #49

Satont opened this issue Jun 18, 2022 · 0 comments

Comments

@Satont
Copy link

Satont commented Jun 18, 2022

Run pnpm/action-setup@v[2](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:2).2.2
  with:
    version: 7
    run_install: false
    dest: ~/setup-pnpm
Running self-installer...
  Error: ENOENT: no such file or directory, uv_cwd
      at process.wrappedCwd (internal/bootstrap/switches/does_own_process_state.js:128:26)
      at process.cwd (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:[3](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:3)2:23)
      at ../../node_modules/.pnpm/[email protected].[4](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:4)2/node_modules/get-source/impl/path.js (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:29678:[5](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:5)8)
      at __require (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:9:44)
      at ../../node_modules/.pnpm/[email protected]/node_modules/get-source/get-source.js (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:297[6](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:7)6:16)
      at __require (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:9:44)
      at ../../node_modules/.pnpm/[email protected][7](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:8)/node_modules/stacktracey/stacktracey.js (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:30022:21)
      at __require (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:[9](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:10):44)
      at ../default-reporter/lib/reportError.js (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:302[21](https://github.com/Satont/tsuwari/runs/6951188005?check_suite_focus=true#step:4:22):41)
      at __require (/mnt/volume/gh-runners/2/_work/_actions/pnpm/action-setup/v2.2.2/dist/pnpm.js:9:44) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'uv_cwd'
  }
Error: Something went wrong, self-installer exits with code 1
Installation Completed!

With

steps:
      - name: Checkout
        uses: actions/checkout@v3

      - uses: actions/setup-node@v3
        with:
          node-version: 18
      - uses: pnpm/[email protected]
        name: Install pnpm
        id: pnpm-install
        with:
          version: 7
          run_install: false

On selfhosted ARM64 runner.

Also, the problem is not permanent. That is, sometimes it does not appear.

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