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
Install set the mtime of added files to Oct 26 1985. This originates from here I believe (since moved to here it looks like).
Expected Behavior:
The mtime of the installed files should not be overwritten (I am not suggesting changes to the tarball itself). This is because tools like rsync look at the size + mtime to determine if a file should be copied. If a file has only one character changed, rsync will not copy the file, which leads to some very hard to debug issues! I'll note that yarn does not override the mtime of files.
Steps To Reproduce:
npm i lodash
Environment:
OS: Linux
Node: v14.16.1
npm: 7.11.2
The text was updated successfully, but these errors were encountered:
Current Behavior:
Install set the mtime of added files to
Oct 26 1985
. This originates from here I believe (since moved to here it looks like).Expected Behavior:
The mtime of the installed files should not be overwritten (I am not suggesting changes to the tarball itself). This is because tools like rsync look at the size + mtime to determine if a file should be copied. If a file has only one character changed, rsync will not copy the file, which leads to some very hard to debug issues! I'll note that
yarn
does not override the mtime of files.Steps To Reproduce:
npm i lodash
Environment:
The text was updated successfully, but these errors were encountered: