-
Notifications
You must be signed in to change notification settings - Fork 20
Files with timestamp of 1970 #16
Comments
I had to manually set the version to 0.1.4 to make my deployment works. |
@fenhaoyuan What version of npm are you using? I think if you upgrade to latest and greatest, it'll probably do the right thing? See this comment: isaacs/node-tar#174 (comment) |
Thanks. Below is a reference of what others think on the same issue in another package: I guess I will have to stick to the old version by manually setting it, for now. |
I've talked with the npm cli team, and added a feature to node-tar to support forcibly setting the mtime on tarball creation. I'll update this package once that lands. That should avoid the problem until older versions of npm are no longer in common usage. |
Some files in the new version 0.1.5 are having timestamp of 1970.
This makes some deployment tools like AWS Elasticbeanstalk fails.
Error message:
ZIP does not support timestamps before 1980
Image attached.

The text was updated successfully, but these errors were encountered: