-
Notifications
You must be signed in to change notification settings - Fork 4
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
FEATURE-REQUEST: PNPM support #2
Comments
Hi @mheob, I'm not familiar with pnpm. What is needed to support it? |
Hi @andreynering. Sorry, I missed your reply. PNPM uses a non-flat and symlinked The details are a bit complex to explain for me. Therefore I would like to refer to the official documentation. The error I am getting by using $ pnpm install
Lockfile is up to date, resolution step is skipped
Already up to date
> use-correct-pm@1.0.4 postinstall /Users/mheob/dev/tools/use-correct-pm
> is-ci || go-npm install
Downloading from URL: https://github.com/mheob/use-correct-pm/releases/download/v1.0.4/use-correct-pm_1.0.4_darwin_amd64.tar.gz
Error: Error finding binary installation directory
at /Users/mheob/dev/tools/use-correct-pm/node_modules/.pnpm/@go-task+go-npm@0.1.16/node_modules/@go-task/go-npm/bin/index.js:2:909476
at ChildProcess.exithandler (node:child_process:420:5)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:313:12)
ELIFECYCLE Command failed with exit code 1. So it appears to me that the $ pnpm bin
/Users/mheob/dev/tools/use-correct-pm/node_modules/.bin I hope this explanation helps a bit. |
Thanks for the explanation. If anyone wants to give this a try, we probably need to check for the right ENVs for pnpm here: Lines 36 to 42 in 0827f89
|
Yes, I will try it in a couple of days. |
It would be nice to use this nice tool also with PNPM as package manager.
The text was updated successfully, but these errors were encountered: