-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry Remix Vite & Shopify Oxygen/Hydrogen #13061
Comments
Hello, thanks for filing this issue! Does this project run locally without problems or do you get an error as well? And did you deploy it somewhere else (not oxygen) already successfully? Can you try turning on logs with |
@s1gr1d Yes the project runs locally without problems. I didn't deployed it somewhere else. |
@theocerutti as per https://docs.sentry.io/platforms/javascript/guides/remix/
Therefore the Remix SDK does not officially support non-Node.js runtimes for the server. You'll have to remove all Sentry related code from We are actively working on a Cloudflare Worker SDK #12620 which should make this better! This is being tracked with #5610 - so I am going to close this issue. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
^8.20.0
Framework Version
Remix ^2.4.1
Link to Sentry event
No response
SDK Setup/Reproduction Example
Steps to Reproduce
1/ Run
npm create @shopify/hydrogen@latest -- --template demo-store
2/ Install @sentry-remix: 'npm run @sentry/remix'
3/ Add sentry related code to enable sentry in root.tsx, entry.server.tsx, entry.client.tsx
4/ Link project to a storefront and run
npx hydrogen deploy
5/ -> Deployment Error
Expected Result
To have a succesfull deployment
Since the worker is built on Oxygen (which is built on Cloudlfare) maybe there is some missing functionnality ???
However the problem is that when I was on Remix Classic Compiler (not using Vite) it was working fine!!
Actual Result
Error:
The text was updated successfully, but these errors were encountered: