Skip to content

Build Error @sentry/svelte #5773

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions