[BUG] Installing local package with npm v7 in Windows partially modify package-lock with backslashes #3291
Labels
Bug
thing that needs fixing
config: lockfile
platform:windows
is Windows-specific
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Release 8.x
work is associated with a specific npm 8 release
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
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
The text was updated successfully, but these errors were encountered: