Skip to content

Can't import @sentry/deno #9609

@alexgleason

Description

@alexgleason

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/deno

SDK Version

7.81.0

Framework Version

7.81.0

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Try to import Sentry in Deno using either method:

// Import from the Deno registry
import * as Sentry from "https://deno.land/x/sentry/index.mjs";

// or import from npm registry
import * as Sentry from 'npm:@sentry/deno';

Expected Result

The import succeeds.

Actual Result

The import fails.

For importing by URL, no index.mjs exists in the Deno package: https://deno.land/x/[email protected]?source

For importing by npm, we get the error:

error: Could not resolve 'npm:@sentry/[email protected]'.
Caused by:
    not found

Metadata

Metadata

Assignees

Labels

Package: denoIssues related to the Sentry Deno SDK

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions