Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
7.77.0
Framework Version
Deno v1.37.2
Link to Sentry event
No response
SDK Setup
import * as Sentry from "npm:@sentry/deno";
Sentry.init({
dsn: SENTRY_DSN,
env: NODE_ENV,
tracesSampleRate: 0.1,
});
Steps to Reproduce
- Follow install steps on https://deno.land/x/[email protected]
deno run --allow-read --allow-net --allow-env --allow-sys --allow-run main.ts
a. Wheremain.ts
has thenpm:@sentry/deno
import
Expected Result
Should not result in an error, Deno isn't properly installing the Sentry module
Actual Result
error: 'import', and 'export' cannot be used outside of module code at file:///Users/kevin/Library/Caches/deno/npm/registry.npmjs.org/@sentry/deno/7.77.0/index.js:9520:1
Metadata
Metadata
Assignees
Type
Projects
Status
No status