-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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?
Self-hosted/on-premise
Which SDK are you using?
@sentry/astro
SDK Version
9.0
Framework Version
Astro 4.13.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
[vite:load-fallback] Could not load /Users/zzj/Desktop/QD/dm/src/paraglide/sentry-release-injection-file (imported by src/paraglide/messages.js): The argument 'path' must be a string or Uint8Array without null bytes. Received '/Users/zzj/Desktop/QD/dm/src/paraglide/\x00sentry-release-injection-file'
Steps to Reproduce
When I run it locally, it is normal. I don't know if it was caused by Vite during the build process. He keeps reporting errors
astro.config.mjs
integrations: [
sentry({
autoInstrumentation: {
requestHandler: false,
},
sourceMapsUploadOptions: {
telemetry: false,
project: "linky-astro"
},
})
]
sentry.client.config.js
import * as Sentry from "@sentry/astro";
Sentry.init({
dsn: "https://[email protected]/5",
sendDefaultPii: true,
});
https://docs.sentry.io/platforms/javascript/guides/astro/
Expected Result
no error
Actual Result

Metadata
Metadata
Assignees
Projects
Status