Skip to content

[BUG] package binaries with .hidden folders don't install globally #7728

@thepiwo

Description

@thepiwo

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

With nodejs 20.16.0 (npm 10.8.1) global install seems to not install binaries from hidden folders.

e.g.

"bin": {
    "debug-bin": ".build/cli.js"
  },

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

  • npm: 10.8.1
  • node: 20.16.0

Metadata

Metadata

Assignees

Labels

Bugthing that needs fixingPriority 2secondary priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions