Skip to content

Build Error @sentry/svelte #5773

Closed
@tarasowski

Description

@tarasowski

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/node

SDK Version

7.13.0

Framework Version

Svelte 3.46.4

Link to Sentry event

No response

Steps to Reproduce

  1. Trying to run npm run build and getting this error:
Could not resolve './{}.js' from node_modules/@sentry/utils/esm/index.js
error during build:
Error: Could not resolve './{}.js' from node_modules/@sentry/utils/esm/index.js
  • I'm using vite 2.8.6
  • Svelte (not Sveltekit)
  • No code transpiling

Expected Result

Successful build

Actual Result

Build fails

Metadata

Metadata

Assignees

Labels

Package: svelteIssues related to the Sentry Svelte SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions