-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
uncaught referenceerror: cannot access 'L' before initialization #9435
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, could you maybe provide a bit more details on your error? A stacktrace would be helpful (e.g. what you see when you click on |
It was working in previous versions of sentry (2 weeks ago) it broke in one the last release , usually update npm packages every couple of weeks |
Hmm, weird. Also the SDK version you mentioned Can you try building without minification (or in dev mode) and see if it happens there as well? It's hard to say where this come from based on the minified stracktrace. |
I installed the package like this:
|
I wonder, how do you build your application? And could you check your lockfile to make sure only a single version of all the SDK packages is installed (e.g. you don't have leftover older versions somewhere - this can sometimes conflict!) |
`"private": true, i using vite` |
Note that if i use version 7.74.0 or lower it works ok the problem start if install from 7.75
has no problem |
Can you provide a reproduction with a bare-bones vue+vite app? I was unable to reproduce with a test app. |
Ohhhh i found what causing the problem in
i had this build config:
after removing that all versions works 🥳 , so all ok, but just let you know, sentry is not compatible with that vite build conf, you can close this issue if you want |
I think the build config issues might be from the Closing - please let us know if there are any other issues. Thanks! |
May I ask if the current new version has fixed this issue? |
This solution has worked just remove build object from |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/vue
SDK Version
7.80
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
runs fine when run but gets the error during build
Expected Result
will be fine and works well
Actual Result
get
uncaught referenceerror: cannot access 'L' before initialization
The text was updated successfully, but these errors were encountered: