Skip to content
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 not working with latest Nuxt3 Version #14179

Closed
3 tasks done
rocketiscool opened this issue Nov 4, 2024 · 5 comments
Closed
3 tasks done

Sentry not working with latest Nuxt3 Version #14179

rocketiscool opened this issue Nov 4, 2024 · 5 comments
Assignees
Labels
Package: nuxt Issues related to the Sentry Nuxt SDK

Comments

@rocketiscool
Copy link

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.36.0

Framework Version

Nuxt 3.14.0

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Upgrade to Nuxt 3.14.0
  2. Run pnpm run dev

Expected Result

Supposed to run smoothly

Actual Result

[nitro 7:43:17 PM] ERROR RollupError: [plugin impound] This module cannot be imported in server runtime. [importing ../../node_modules/.pnpm/nitropack@2.10.2_typescript@5.6.2_webpack-sources@3.2.3/node_modules/nitropack/dist/presets/_nitro/runtime/nitro-dev.mjs from ../../node_modules/.pnpm/nitropack@2.10.2_typescript@5.6.2_webpack-sources@3.2.3/node_modules/nitropack/dist/presets/_nitro/runtime/nitro-dev.mjs?sentry-query-wrapped-entrySENTRY-QUERY-END]

Resulting in Nuxt not even starting the dev server

@github-actions github-actions bot added the Package: nuxt Issues related to the Sentry Nuxt SDK label Nov 4, 2024
@andreiborza
Copy link
Member

Hi @rocketiscool, thanks for filing this.

I assigned my colleague @s1gr1d as she's the maintainer of the nuxt SDK. We're investigating this issue.

@danielroe
Copy link

this has been resolved in nuxt/nuxt#29780 and will be included in the next Nuxt patch release.

you can already test by installing "nuxt": "npm:nuxt-nightly@3x":

https://nuxt.com/docs/getting-started/upgrade#nightly-release-channel

@andreiborza
Copy link
Member

Thanks @danielroe!

@rocketiscool
Copy link
Author

this has been resolved in nuxt/nuxt#29780 and will be included in the next Nuxt patch release.

you can already test by installing "nuxt": "npm:nuxt-nightly@3x":

https://nuxt.com/docs/getting-started/upgrade#nightly-release-channel

Just tested the new patch release but I'm getting

[1:33:35 PM] ERROR [worker reload] [worker init] /web/apps/web/.nuxt/dev/index.mjs failed

Is that normal?

@danielroe
Copy link

danielroe commented Nov 6, 2024

@rocketiscool do you have a reproduction?

I'd suggest opening an issue in the Nuxt repo 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nuxt Issues related to the Sentry Nuxt SDK
Projects
Archived in project
Development

No branches or pull requests

4 participants