Skip to content

Can't resolve 'react/jsx-runtime' in xxx/node_modules/@sentry/react/esm #12608

@htCaoHaitao

Description

@htCaoHaitao

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.5.0

Framework Version

React: 17.0.2

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

1、update sentry sdk version

yarn upgrade @sentry/[email protected] @sentry/[email protected]

2、run project in local

yarn start

Expected Result

The project run with no error as shown below :
image

Actual Result

image

Metadata

Metadata

Assignees

Labels

Package: browserIssues related to the Sentry Browser SDK

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions