You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
When having a checkout of a package.json + package-lock.json on a Windows machine with git "core.autocrlf=true", then all files will have CRLF line endings. Now, when running "npm install", then npm thinks that the line endings of package.json + package-lock.json should be replaced with pure LF. This is bad, as git now thinks there are changes to the files, while in fact there are none (only line endings):
And the same is true for IntelliJ:
supporting information:
npm -v prints: 5.0.3
node -v prints: v6.10.3
npm config get registry prints:
Windows, OS X/macOS, or Linux?: Windows
oakio, mikeymco, menzer, stianl, MagicDuck and 40 moretrungvose