cli
cli copied to clipboard
[BUG] Installing local package with npm v7 in Windows partially modify package-lock with backslashes
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
When installing a local dependency in Windows, the posix paths under "package-lock.dependencies" are converted to Windows style paths, with double backslashes. The paths in "package.json" and under "package-lock.packages" are kept unix style.
Expected Behavior
package-lock is kept as is when installing dependencies.
Steps To Reproduce
Clone and follow the instructions on sample repository.
Environment
- OS: Windows 10 20h2
- Node: 16.2.0
- npm: 7.13.0
This is also present for version 8.3.0
.
+1, commenting for visibility!
+1 waiting for this to be solved :)
This is hitting us as well. It is a pretty lame bug. This effectively blocks cross platform development when using a file:/path locally installable package.
Any update on this?
3 months , any update please ?
please prioritize this 😞
any updates on this ?
it has been a while. Any updates?