Closed weldar0616 closed 1 month ago
I haven't looked into the issue but as the warning says, you should probably stop using nuxt-ts
since Nuxt supports TS natively now.
Also, it looks like Sentry is trying to send a trace event during build for the https://telemetry.nuxtjs.com/
request which is kinda pointless. Maybe Sentry should just be disabled during static generation.
As a workaround you can probably disable telemetry (telemetry: false
in nuxt.config
).
Thank you for the prompt response!
I've changed nuxt-ts to nuxt and added telemetry: false
, to nuxt-config.ts. This modification stopped the unnecessary telemetry events from being sent, however, I'm still encountering the following error:
ERROR Sentry Logger [error]: Transport disabled 17:07:37
I will continue to investigate this issue.
You might have to create a repo that reproduces the issue if you can't figure it out yourself.
Closing due to no way to reproduce.
Environment
Description
I am trying to implement Session Replay using
@nuxtjs/sentry
in my Nuxt application. Initially, my Sentry setup was working correctly, and logs were properly sent to Sentry with the following configuration:Original
package.json
Configuration:Original
nuxt.config.ts
Configuration:Following the guide on Sentry Nuxt Session Replay, I updated my configuration:
Updated
package.json
:Updated
nuxt.config.ts
: I added the Session Replay integration and updated CSP based on the Sentry guide for Vue.However, after making these changes and running
nuxt-ts build
, I encounter the following error:Due to this error, Session Replay does not seem to be functioning.
Expected Behavior
I expected Session Replay to be enabled without issues and for events and sessions to be sent to Sentry as configured.
Actual Behavior
The console logs
Sentry Logger [error]: Transport disabled
, and Session Replay is not working as expected.Steps to Reproduce
nuxt-ts build
.Additional Context: Runtime Log Excerpt
Here is an excerpt from the runtime logs when the issue occurs. This might provide more insight into the problem:
Please let me know if there's any more information I can provide to help diagnose this issue. Thank you for your support.