Skip to content

Global Sentry functions not recognized after upgrade to latest #12734

@Amy-B-Tradition

Description

@Amy-B-Tradition

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react

SDK Version

8.13.0

Framework Version

React 18.3.1

Link to Sentry event

No response

SDK Setup/Reproduction Example

yarn upgrade @sentry/react --latest

(also tried deleting the line from package.json and then doing yarn add)

image
Note the global functions are red and Webstorm does not at all believe they are there.

Steps to Reproduce

We're still building with Parcel 1, but I don't think that matters.

I also tried removing my node_modules folder and reinstalling everything from scratch. Also, removed node_modules and parcel .cache and dist folders before reinstalling and starting, same result.

Expected Result

Functions are present and can be used.

Actual Result

Functions are not present or usable
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: reactIssues related to the Sentry React SDK

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions