-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
latest @sentry/nuxt throw error at build time #16122
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
Comments
Hello, thanks for writing in. Can you share some information about the OS you are using? There seems to be an issue with the slashes in the path ( |
@rtabulov which version of nuxt-i18n are you using? |
I have the same issue, but for me it started to appear with the latest nuxt-i18n beta only which has been released a few days ago. So I opened an issue in the i18n repo: nuxt-modules/i18n#3595 Let's see what the root cause is, I'm not sure. |
Hello, I will take a look at this as well as Sentry adds a null byte ( |
I attempted to reproduce this by installing the Would you be able to provide a small reproduction of this? |
I have exactly the same issue. Happened after update to "@nuxtjs/i18n": "10.0.0-beta.4" It works without sentry OR without i18n.config.ts @s1gr1d maybe try to use i18n.config.ts to reproduce it and run "nuxt build" nuxt.config :
i18n.config.ts
|
I created a reproduction for this issue now: https://github.com/s1gr1d/reprex.sentry-javascript-16122_nuxt-sentry-i18n Seems like the I modified the snippet a bit to be aligned with the i18n docs. It's export default defineI18nConfig(() => {
return {};
}); |
Closing this as I added a comment with some explanation in the i18n repository: nuxt-modules/i18n#3595 (comment) If it turns out to be a Sentry issue, we will reopen this issue. |
For context - this is the PR in i18n fixing this issue: nuxt-modules/i18n#3603 |
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
9.14.0
Framework Version
nuxt@3.16.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
freshly installed @sentry/nuxt via sentry wizard.
Expected Result
expected to build without errors
issue seems similar to #14980 , but im not using svelte so im unable to fix with the suggested method
Actual Result
command
nuxt build
exits with errorThe text was updated successfully, but these errors were encountered: