question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

File dates of npm package are in the past (1985)

See original GitHub issue

Bug, feature request, or proposal:

Bug

What is the expected behavior?

(Build?) server has time configured correctly.

What is the current behavior?

Date is in the past (1985)

What are the steps to reproduce?

mkdir test
cd test
npm init -y
npm add @angular/cdk
ls -hal node_modules/@angular/cdk | head
total 228K
drwxr-xr-x 20 rhalff rhalff 4.0K Apr 25 19:32 .
drwxr-xr-x  3 rhalff rhalff 4.0K Apr 25 19:32 ..
drwxr-xr-x  3 rhalff rhalff 4.0K Apr 25 19:32 a11y
-rw-r--r--  1 rhalff rhalff  232 Oct 26  1985 a11y.d.ts
-rw-r--r--  1 rhalff rhalff  193 Oct 26  1985 a11y.metadata.json
-rw-r--r--  1 rhalff rhalff  181 Oct 26  1985 a11y-prebuilt.css
-rw-r--r--  1 rhalff rhalff  761 Oct 26  1985 _a11y.scss
drwxr-xr-x  3 rhalff rhalff 4.0K Apr 25 19:32 accordion
-rw-r--r--  1 rhalff rhalff  237 Oct 26  1985 accordion.d.ts

Same seems to be the case for @angular/material

@angular/cli does show the correct date.

What is the use-case or motivation for changing an existing behavior?

It’s confusing. Especially when hunting for a bug in the same area.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

At least 5.2.5 and 6.0.0-rc.12

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
rhalffcommented, Apr 25, 2018
0reactions
angular-automatic-lock-bot[bot]commented, Sep 8, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why are the file dates Oct 26 1985 after npm install? - General
Hi, I publish a node node-red-contrib-.. on npm. All file dates are actual. ... 26.10.1985. This is the date in film back to...
Read more >
UNPKG on Twitter: "@lindes It's an npm problem. Check the ...
File dates of npm package are in the past (1985) · Issue #11009 · angular/components. Bug, feature request, or proposal: Bug What is...
Read more >
My Favorite npm Commit - izs
One of the biggest challenges to this is that files have timestamps indicating when they were changed, created, modified, and so on. While...
Read more >
npm version 6.0.0 published with incorrect modification dates ...
npm version 6.0.0 published with incorrect modification dates for files of October 26 1985.
Read more >
How can I configure npm update to update mtime of files?
The modified timestamps of these files are not what you expect: the time that these files were last installed or updated in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found