-
-
Notifications
You must be signed in to change notification settings - Fork 971
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
Missing node_modules/.bin with hoisted linker #6486
Labels
Comments
Maybe this is related to this issue: #1801 |
Maybe, though reproducible without postinstall and with committed target |
Another interesting point, the issue is not reproducible with default linker |
I'll fix it. |
zkochan
added a commit
that referenced
this issue
Apr 29, 2023
zkochan
added a commit
that referenced
this issue
Apr 30, 2023
zkochan
added a commit
that referenced
this issue
Apr 30, 2023
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pnpm version: 8.3.0
Code to reproduce the issue:
https://github.com/TrySound/pnpm-hoisted-bin-bug
Expected behavior:
Single pnpm install creates node_modules/.bin
Actual behavior:
There is an issue with hoisted linker.
With clean node_modules and after first pnpm install node_modules/.bin in packages are not created. So when run pnpm build there is an error about missing command.
After running pnpm install the second time node_modules/.bin are created and pnpm build in packages start to work.
Additional information:
node -v
prints: v16.17.1The text was updated successfully, but these errors were encountered: