-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 breaks on Windows when running off a UNC path #1189
Comments
Still broken on 6.14.4 |
Actually, still broken as of now (v7.7.6). Refs volta-cli/volta#966. |
Also refs #2699 |
I was thinking about this issue, and I was able to successfully generate a shim for Fails with
|
I would like to extend this bug coverage a bit:
|
npm If your bug is preproducible on If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo Closing: This is an automated message. |
What / Why
When
I run
npm install
Where
On a WSL / UNC share
How
Current Behavior
PS Microsoft.PowerShell.Core\FileSystem::\wsl$\Ubuntu\home\stan\projects\personal\WeakAurasCompanion> npm install
'\wsl$\Ubuntu\home\stan\projects\personal\WeakAurasCompanion'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
npm WARN saveError ENOENT: no such file or directory, open 'C:\Windows\package.json'
npm WARN saveError EPERM: operation not permitted, open 'C:\Windows\package-lock.json.415733530'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Windows\package.json'
Steps to Reproduce
Run npm install on a UNC path / WSL
Expected Behavior
Who
References
The text was updated successfully, but these errors were encountered: