nodejs / nodejs/corepack

Corepack enable: permission denied on Arch Linux

Open
#265 9 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.8k
Forks
279
Avg merge
1h 47m
Merged PRs (30d)
2

Description

Hi,

I am running corepack on Node v19.9.0 and Arch Linux 6.3.1 and I can't enable it:

$ pacman -S node npm
$ corepack enable

Internal Error: EACCES: permission denied, symlink '../lib/node_modules/corepack/dist/pnpm.js' -> '/usr/bin/pnpm'
Error: EACCES: permission denied, symlink '../lib/node_modules/corepack/dist/pnpm.js' -> '/usr/bin/pnpm'

Should this be reported on some Arch Linux channel or it's a corepack issue?

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported corepack enable command on Arch Linux and the EACCES symlink path shown in the issue. Determine whether the failure belongs to Arch's Node packaging or Corepack, then document the responsible project or required change; done means the ownership and next step are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, nodejs
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.