Date fns hangs when running npm install
See original GitHub issueWhen running npm install / npm ci the installation hangs at ‘extractTree’ date fns step installing version 2.28.0
This started happening about 2 weeks ago. I’m using npm version 6.14.12
It can take up to 10min in some instances.
I noticed that upgrading to the latest version of npm resolves the issue for me. It would be easier to NOT migrate the project to the latest version of npm and remain on the current version.
Can anyone perhaps point me in the right direction as to why this is currently happening?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Hangs on Install · Issue #2479 · date-fns ...
I'm trying to install date-fns for the first time. I tried using the suggested npm install date-fns --save as well as npm install...
Read more >npm install hangs - node.js
Change the path in environment variables. Set: · Run the command to install your package. · Open file explorer, copy the link: ·...
Read more >Resolving npm install hangs issue
Resolving npm install hangs issue · Check your network connection · Remove node_modules and package-lock.json · Check the configured registry.
Read more >date-fns
Start using date-fns in your project by running `npm i date-fns`. ... run: npm install date-fns --save # or with yarn yarn add...
Read more >Running 'npm install' hangs and hangs... and hangs
Clear the npm cache And that's it. Now run npm install and see if that doesn't just clear up your little hanging problem....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Found this issue which seems to match with your 2 weeks timeline. It might have something to do with npm/github not supporting unencrypted versions of the
git
protocol anymore. https://github.com/npm/cli/issues/4896https://github.blog/2021-09-01-improving-git-protocol-security-github/
This must be something with this particular version of npm + date-fns.
On latest npm (8.9.0) thi issue does not exist.