npm pack, wrong pack time, always 1985.

System window10.


1.Create a project.

npm init -y

2.Run Packaging.

npm pack .

3.Open the generated package test-1.0.0.tgz.

4.Check file time

The time is wrong, always 1985. Hoping to fix it.

This is an intended behaviour, see: Installed files have wrong dates (Oct 26 1985)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.