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

pnpm licenses list fails on pnpm itself #6595

Closed
JaninaWibker opened this issue May 26, 2023 · 0 comments · Fixed by #6681
Closed

pnpm licenses list fails on pnpm itself #6595

JaninaWibker opened this issue May 26, 2023 · 0 comments · Fixed by #6681

Comments

@JaninaWibker
Copy link

pnpm version: 8.5.1

Code to reproduce the issue:

git clone https://github.com/pnpm/pnpm
cd pnpm
pnpm install
pnpm licenses list

Expected behaviour:

The third party licenses for pnpm itself get listed

Actual behavior:

ERR_PNPM_MISSING_PACKAGE_INDEX_FILE  Failed to find package index file for github.com/vercel/pkg/7e4fef9f0828b11c7a9655b95425f32094f2daa2(patch_hash=pp6fkuhwkrqq7cjcj7uqpf37e4), please consider running 'pnpm install'

(running pnpm install again and re-trying doesn't change anything about the error)

Additional information:

This can be resolved by doing pnpm patch-remove pkg@5.7.0, thus the github:... dependency doesn't seem to be the problem but rather having to apply a patch is.

Is there any reason there is a patch for vercel/pkg in the first place?

  • node -v prints: v20.0.0
  • Windows, macOS, or Linux?: macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant