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

[Bug?]: EACCES error installing esbuild with nodeLinker: pnpm #5914

Closed
1 task done
sndrs opened this issue Nov 1, 2023 · 2 comments
Closed
1 task done

[Bug?]: EACCES error installing esbuild with nodeLinker: pnpm #5914

sndrs opened this issue Nov 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@sndrs
Copy link

sndrs commented Nov 1, 2023

Self-service

  • I'd be willing to implement a fix (but I'll need some guidance!)

Describe the bug

When using nodeLinker: pnpm to install esbuild, the linking process fails with an EACCES error.

To reproduce

Here is a repo that reproduces it https://github.com/sndrs/yarn-4-node-linker-pnpm-esbuild-repro.

The relevant bits (I think) are:

// package.json
{
	"packageManager": "[email protected]",
	"dependencies": {
		"esbuild": "^0.19.5"
	}
}
# .yarnrc.yml
nodeLinker: pnpm

You can see the error when running yarn install in github actions at https://github.com/sndrs/yarn-4-node-linker-pnpm-esbuild-repro/actions/runs/6718820675/job/18259264644#step:4:97.

I get an identical error locally.

Environment

System:
    OS: macOS 13.6
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 20.6.0 - /private/var/folders/68/5j1j3h353mn3h52r62jfklrm0000gp/T/xfs-34312e26/node
    Yarn: 4.0.1 - /private/var/folders/68/5j1j3h353mn3h52r62jfklrm0000gp/T/xfs-34312e26/yarn
    npm: 9.8.1 - ~/Library/Caches/fnm_multishells/8075_1698836213758/bin/npm

Additional context

Trying to add yarn 4 to a large project, other packages that needed to be built were fine, so I don't know if it's an esbuild issue or a more general issue that so far i've only seen affect esbuild.

@sndrs sndrs added the bug Something isn't working label Nov 1, 2023
@arcanis
Copy link
Member

arcanis commented Nov 1, 2023

Closing as duplicate of #5165

@arcanis arcanis closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2023
@sndrs
Copy link
Author

sndrs commented Nov 1, 2023

sorry @arcanis, I totally missed that. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants