-
-
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 build error : ERROR "sentry-release-injection-file" is imported as an external by #14447
Comments
Hello @ghisleouf, thanks for writing in. Could you please upgrade to the latest |
HI @andreiborza , Thanks for your quick answer. Thanks again for your precious help. Best. |
@ghisleouf could you please provide a minimal reproduction repo or stackblitz where we can try to investigate this? |
I just tried to reproduce it by just using the |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.28.0
Framework Version
Nuxt 3.12.3
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Hi Sentry,
I'm having a build error since an update in my project and I can't find a way to fix it.
The project is based on Nuxt3 (v. 3.12.3) and Vite.
When running
npm run build
command, I'm getting the following error:ERROR "sentry-release-injection-file" is imported as an external by "@videojs/vhs-utils/cjs/resolve-url.js?commonjs-external", but is already an existing non-external module id.
Actually, the update we did is quite simple in the codebase.
We have leveraged to Dynamic component import to load Video player that wraps video.js library.
And now at build time, the previous error is triggered.
Do you have any idea from where the issue could come from ?
Thanks a lot for your help.
Best.
Expected Result
Build works.
Actual Result
Build fails.
The text was updated successfully, but these errors were encountered: