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: Fix https failures on macOS #3716

Merged
merged 1 commit into from
Apr 22, 2022
Merged

fix: Fix https failures on macOS #3716

merged 1 commit into from
Apr 22, 2022

Conversation

joeyparrish
Copy link
Contributor

The issue was traced upstream to needle, and resolved in:

Closes #3693

What: Fix macOS ECONNRESET w/ node v14+

Why: Without the upgrade to needle, some more complex less files with https inline imports can fail with ECONNRESET, specifically on macOS w/ node v14+

How: The root cause was traced to the dependency needle, and fixed there over several PRs addressing various combinations of OS and node version

Checklist:

The issue was traced upstream to needle, and resolved in:
 - tomas/needle#392
 - tomas/needle#394
 - tomas/needle#396
 - tomas/needle#398

Closes less#3693
@iChenLei iChenLei requested a review from matthew-dean April 21, 2022 00:40
@iChenLei
Copy link
Member

Thank you. @matthew-dean Hi, sir. Please review this pr.

@matthew-dean
Copy link
Member

lgtm

Copy link
Member

@iChenLei iChenLei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iChenLei iChenLei merged commit 1eafc06 into less:master Apr 22, 2022
@joeyparrish joeyparrish deleted the fix-mac branch April 22, 2022 02:37
@joeyparrish
Copy link
Contributor Author

@iChenLei, @matthew-dean, when could we expect to see this in an official release so that we can stop using a fork?

lumburr pushed a commit to lumburr/less.js that referenced this pull request Apr 28, 2022
@iChenLei
Copy link
Member

iChenLei commented May 3, 2022

@matthew-dean Can we release a new version for this bugfix ?

@joeyparrish
Copy link
Contributor Author

Any chance we could get an updated release for less.js so we can stop using a fork?

@joeyparrish
Copy link
Contributor Author

Less v4.2.0 seems to include the fix.

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.

v4 fails to import https resources on macOS, works in v3
3 participants