npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

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)