Skip to content
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] npm link should have --install-links=false by default #561

Closed
1 task done
Tracked by #2385 ...
MylesBorins opened this issue Sep 28, 2022 · 0 comments
Closed
1 task done
Tracked by #2385 ...

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

MylesBorins opened this issue Sep 28, 2022 · 0 comments
Assignees
Labels

Comments

@MylesBorins
Copy link

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
@MylesBorins MylesBorins mentioned this issue Sep 28, 2022
32 tasks
@MylesBorins MylesBorins changed the title [BUG] npm link should not have --install-links=false by default [BUG] npm link should have --install-links=false by default Sep 28, 2022
@wraithgar wraithgar self-assigned this Sep 28, 2022
@fritzy fritzy assigned fritzy and unassigned wraithgar Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants