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 package are you using?
@sentry/react
SDK Version
7.1.1
Framework Version
7.1.1
Link to Sentry event
No response
Steps to Reproduce
1.Opened a sentry account
2. followed setup
3. installed packages using this command "npm install --save @sentry/react @sentry/tracing"
4. imported following modules " import * as Sentry from "@sentry/react"; import { BrowserTracing } from "@sentry/tracing"; "
5. Then compiled.
Expected Result
Successful compilation.
Actual Result
Failed to compile
./node_modules/@sentry/utils/esm/object.js
Module parse failed: Unexpected token (108:6)
You may need an appropriate loader to handle this file type.
| name: value.name,
| stack: value.stack,
| ...getOwnProperties(value),
| };
| } else if (isEvent(value)) {
Metadata
Metadata
Assignees
Labels
No labels