-
-
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
Nuxt in Netlify #13697
Comments
I am facing the same issue. Following the SDK docs to set up sentry and then running
|
Hello, this is a known issue we still need to figure out. I will keep you updated on this topic! :) |
I also facing same issue, is there any updates? |
for me, here's the error:
|
This is still something we need to figure out as this is something that cannot be fixed only from our side. But how does your server-side init look like and which version do you use? Did you add the override/resolution like described in the docs? https://docs.sentry.io/platforms/javascript/guides/nuxt/#troubleshoot-errors-during-server-startup |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nuxt
SDK Version
8.28.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
I am trying to use Nuxt with Sentry in Netlify. I followed all the steps in the doc and managed to integrate Sentry when Nuxt is built with the
node
preset.The issue comes when Nuxt is built with the Netlify preset which creates a lambda function bundled in a single JS file.
No matter what I try, the Netlify function will only contain a single
server.js
file and theinstrument.server.mjs
will not be therePS. Adding the
--import
flag to theNODE_OPTIONS
env variable works and Netlify tries to load the file, but the file is not uploaded.Expected Result
The
instrument.server.mjs
is uploaded in Netlify and somehow loaded using--import
orNODE_OPTIONS
Actual Result
The lambda function directory contains only the bundled Nuxt code and
instrument.server.mjs
is missingRelated discussion
The text was updated successfully, but these errors were encountered: