Skip to content

Fix Operation Timed Out Error During npm install#180

Open
sunnypranay wants to merge 1 commit into
supermedium:masterfrom
sunnypranay:fix-uglifyjs-timeout
Open

Fix Operation Timed Out Error During npm install#180
sunnypranay wants to merge 1 commit into
supermedium:masterfrom
sunnypranay:fix-uglifyjs-timeout

Conversation

@sunnypranay

Copy link
Copy Markdown

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

dmarcos commented Feb 23, 2024

Copy link
Copy Markdown
Member

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