From 60d963a3ec608a6b3f2ce2b1a47da06893af196c Mon Sep 17 00:00:00 2001 From: Jordan Lees Date: Sat, 11 Jan 2025 12:36:59 -0800 Subject: [PATCH] fix TypeError: HttpsProxyAgent is not a constructor another example of this issue after searching: https://github.com/websockets/wscat/issues/156 --- packages/smui-theme/bin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smui-theme/bin/index.js b/packages/smui-theme/bin/index.js index 5dd50e8bc..f7407dd04 100755 --- a/packages/smui-theme/bin/index.js +++ b/packages/smui-theme/bin/index.js @@ -117,7 +117,7 @@ yargs(hideBin(process.argv)) }_smui-theme.scss`, { agent: process.env['https_proxy'] - ? new HttpsProxyAgent(process.env['https_proxy']) + ? new HttpsProxyAgent.HttpsProxyAgent(process.env['https_proxy']) : undefined, }, ).then((result) => result.text());