Skip to content

HttpsProxyAgent breaks Astro #10040

Closed
Closed
@anonrig

Description

@anonrig

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/astro

SDK Version

v7.91.0

Framework Version

No response

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

11:02:23 [ERROR] [vite] Named export 'HttpsProxyAgent' not found. The requested module 'https-proxy-agent' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'https-proxy-agent';
const {HttpsProxyAgent} = pkg;

  Stack trace:

Expected Result

N/A

Actual Result

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: astroIssues related to the Sentry Astro SDK

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions