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] --no-bin-links and npm set bin-links=false does not work at all #7827

Open
2 tasks done
zhenlige opened this issue Oct 10, 2024 · 0 comments
Open
2 tasks done
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@zhenlige
Copy link

zhenlige commented Oct 10, 2024

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

The program still tries to create symlinks.

Expected Behavior

The program should intall packages without trying to create symlinks.

Steps To Reproduce

  1. Launch npm v10.9.0 on Windows 11
  2. Open a project in exFAT file system
  3. Run either of below:
  • npm install --no-bin-links
  • npm set bin-links=false and then npm install
  1. See error: EISDIR: illegal operation on a directory, symlink ' (some path) ' -> ' (some path) '

Environment

  • npm: 10.9.0
  • Node.js: 20.18.0
  • OS Name: Windows 11
  • System Model Name: Legion R9000P2021H
  • npm config:
; "builtin" config from C:\Users\zhenlige\AppData\Roaming\npm\node_modules\npm\npmrc

prefix = "C:\\Users\\zhenlige\\AppData\\Roaming\\npm"

; "user" config from C:\Users\zhenlige\.npmrc

bin-links = false
registry = "https://registry.npmmirror.com/"

; node bin location = C:\Program Files\nodejs\node.exe
; node version = v20.18.0
; npm local prefix = E:\fonts\src\Iosevka-main
; npm version = 10.9.0
; cwd = E:\fonts\src\Iosevka-main
; HOME = C:\Users\zhenlige
; Run `npm config ls -l` to show all defaults.
@zhenlige zhenlige added Bug thing that needs fixing Needs Triage needs review for next steps labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

1 participant