-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] package binaries with .hidden folders don't install globally #7728
Labels
Comments
thepiwo
added
Bug
thing that needs fixing
Needs Triage
needs review for next steps
labels
Aug 16, 2024
Reproduced the issue locally with 10.8.1. works fine on 10.8.0. |
milaninfy
added
Priority 2
secondary priority issue
and removed
Needs Triage
needs review for next steps
labels
Aug 22, 2024
wraithgar
pushed a commit
to npm/package-json
that referenced
this issue
Sep 17, 2024
Path normalization done in #105 resulted in the removal of `bin` paths that start with `. (hidden directory)`. This PR corrects the path normalization to allow `bin` paths that start with `. (hidden directory)`. ## References Fixes #116 & npm/cli#7728
fixed in npm/package-json#119 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
With nodejs 20.16.0 (npm 10.8.1) global install seems to not install binaries from hidden folders.
e.g.
Expected Behavior
With nodejs 20.15.1 (npm 10.7.0) it still worked.
Steps To Reproduce
I described steps to reproduce the issue in a repository with an example: https://github.com/thepiwo/nodejs-debug-bin
Environment
The text was updated successfully, but these errors were encountered: