You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SolidStart v2 support in @sentry/solidstart #23029
@sentry/solidstart cannot be used with SolidStart v2. The v2 line is at 2.0.0-rc.10 and upstream has just exited changeset pre-mode (solid-start#2279), so a stable release looks close.
v2 drops vinxi for plain Vite plus Nitro v3, and removes app.config.ts entirely. Against @sentry/solidstart@10.69.0 that breaks three ways:
Peer dependency."@solidjs/start": "^1.0.0", so every v2 install is a peer conflict.
withSentry has nothing to wrap. It takes the v1 app.config.ts object and reaches into solidStartConfig.server, solidStartConfig.vite and server.modules. In v2 solidStart() is an ordinary Vite plugin, there is no server key, and Nitro v3 takes nitro.plugins rather than v2 modules registering a rollup:before hook.
No default export condition. The export map declares only browser and node. On a non-Node server runtime the package fails to resolve at all, so a Cloudflare Workers build cannot even import it.
I noticed #22816 added an optional SolidStart 2 E2E app and its description says the SDK is "very vinxi-oriented" and would need changes. I could not find an issue tracking that work, so this is one to point at.
Solution Brainstorm
Widen the @solidjs/start peer range to include ^2.0.0.
Replace withSentry with a Vite plugin, since that is the only integration surface v2 offers. The source map and release-injection work withSentry does today would move into it.
Register server-side instrumentation as a Nitro v3 plugin under the top-level nitro.plugins key.
Add a default condition to the export map so non-Node runtimes resolve.
Additional Context
Point 3 matters beyond Cloudflare. v2's default output targets Nitro presets, several of which are not Node, so the missing default condition will bite more than one deployment target.
For anyone blocked today, @sentry/solid plus @sentry/cloudflare in a hand-written Nitro plugin works on Workers. It gives up the automatic source map upload and server entry instrumentation that withSentry handled, so @sentry/vite-plugin has to be wired up directly and build.sourcemap and nitro.sourcemap both named explicitly, because nitropack v2 used to default the latter and Nitro v3 defaults it off.
Activity
linear-code commentedon Aug 4, 2026
JS-3276
chargome commentedon Aug 5, 2026
@adipascu thanks for filing! I'll take a look right away
feat(solidstart): Add SolidStart 2 support (#23090)
github-actions commentedon Sep 23, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #23090, which was included in the 11.0.0 release.