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 SDK are you using?
@sentry/sveltekit
SDK Version
7.64.0
Framework Version
Sveltekit 1.22.4
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: PUBLIC_SENTRY_DSN,
tracesSampleRate: 1.0,
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
// If the entire session is not sampled, use the below sample rate to sample
// sessions when an error occurs.
replaysOnErrorSampleRate: 1.0,
// If you don't want to use Session Replay, just remove the line below:
integrations: [new Replay()],
});
Steps to Reproduce
- Create a project
- Set
+layout.js
orts
toexport const ssr = false
(don't know if this is relevant to reproducing) - Add in sentry
- Create a route and add a
+page.svelte
- Do not create a
+page.ts
or a+page.js
- Run the project using
pnpm dev
Expected Result
The project runs
Actual Result
This happens for any page in the routes, so it doesn't matter what the path is.
Internal server error: ENOENT: no such file or directory, open '/src/routes/(app)/projects/[projectid]/settings/+page.js'
[Error: ENOENT: no such file or directory, open '/src/routes/(app)/projects/[projectid]/settings/+page.js'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/src/routes/(app)/projects/[projectid]/settings/+page.js'
}
Metadata
Metadata
Assignees
Type
Projects
Status
No status