Skip to content

[BUG] npm link should have --install-links=false by default #561

@MylesBorins

Description

@MylesBorins

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

With #510 landed the default of install is now --install-links=true... this has unintentionally broken the expected behavior of npm link creating a reified on disk representation of the package rather than a symbolic link.

Expected Behavior

running npm link in a package should create a global symbolic link to the package

Steps To Reproduce

  1. in a package with a bin export run npm link
  2. check the globally linked lib/node_modules folder
  3. it is not a sym link

Environment

  • npm: 9.0.0-pre.2
  • Node: any
  • OS: any
  • platform: any

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions