Skip to content

Installing Sentry and I get errors. #8612

@ReturnXDev

Description

@ReturnXDev

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/sveltekit

SDK Version

7.60.0

Framework Version

sentry/sveltekit: 7.60.0

Link to Sentry event

No response

SDK Setup

Sentry.init({
dsn: 'https://e227c85c79974debb6bb51663d747384@o4505567485558784.ingest.sentry.io/4505582978727936',
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
integrations: [
new ProfilingIntegration()
]
});

Steps to Reproduce

I went through the manual install for a pretty 'small' project. A signup form that then sends users an email to validate, once validated sends to a few services.

Basically going through the install and get the results I will drop below.

So a colleague has installed Sentry on other projects and they work fine, he even tried to install sentry on this project and it also failed.

The below error suggests Babel which other than being part of the project we haven't tweaked or engaged with.

Finally if I go and undo all changes in Source Control the project then spins up fine.

Let me know if anything jumps out at you.

Thank you.

Expected Result

To install sentry...

Actual Result

Internal server error: Unexpected token (74:12)
at instantiate (C:\projects\PROJECT_NAME\node_modules@babel\parser\lib\index.js:63:32)
at constructor (C:\projects\PROJECT_NAME\node_modules@babel\parser\lib\index.js:358:12)
at V8IntrinsicMixin.raise (C:\projects\cint-surveynex.js:6974:20)
at V8IntrinsicMixin.parseExprAtom (C:\projects\PROJECT_NAME\node_modules@babel\parser\lib\index.js:10380:45)
at V8IntrinsicMixin.parseExprSubscripts (C:\projects\PROJECT_NAME\node_modules@babel\parser\lib\index.js:10890:23)
at V8IntrinsicMixin.parseUpdate (C:\projects\PROJECT_NAME\node_modules@babel\parser\lib\index.js:10873:21)
at V8IntrinsicMixin.parseMaybeUnary (C:\projects\PROJECT_NAME\node_modules@babel\parser\lib\index.js:10849:23)

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions