Facing `httpsProxyAgent is not a constructor` error after working fine, what could be the issue?

This topic was automatically generated from Slack. You can find the original thread here.

Hello everyone, i am facing a httpsProxyAgent is not a constructor error. Everything is setup correctly and it was working fine couple of hours before. Now it started throwing the errors. What could be the issue?

Hello , would you mind trying:

import { HttpsProxyAgent } from 'https-proxy-agent';

Thanks . It worked. Really appreciate your response :slightly_smiling_face: