Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Operation Timed Out Error During npm install #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sunnypranay
Copy link

Description:

This pull request addresses the issue reported in #179 where an "Operation timed out" error occurs when running npm install. This was due to dependencies being fetched using the git protocol, which can be unreliable in some environments.

Changes Made:

  • Updated the package.json file to use HTTPS URLs instead of git protocol URLs for the uglify-es and uglify-js packages.

How Does This Fix the Issue?:

  • Using HTTPS URLs for fetching dependencies is more reliable and less likely to result in timeout errors, especially when not using SSH or when behind certain firewalls and proxies.

Testing:

  • After making the changes, I ran npm install successfully without any timeout errors.
  • All existing tests pass, and functionality seems unaffected by this change.

Closes: #179

@sunnypranay sunnypranay closed this Nov 4, 2023
@sunnypranay sunnypranay reopened this Nov 4, 2023
@dmarcos
Copy link
Member

dmarcos commented Feb 23, 2024

Thanks. This needs rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants