-
Notifications
You must be signed in to change notification settings - Fork 70
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
web-vitals
is undefined
#620
Comments
Hi @tiennguyen1293 first time I see this and unfortunately can't reproduce the error.
|
Hi @codecapitano thank for quick response:
|
Ok thanks. The issue happens during build right? If yes, can you wipe |
the issue happens during runtime. I ran |
|
it is happening to build runtime to run App on localhost. Maybe it is related to building library or compiling code? |
Aaah at build runtime 👍
Ok yeah this might be causing the issue. What is your build tool of choice? |
i'm using Webpack version 5 |
i found the root cause, it is related to webpack config. I configured
I will close this issue Thanks for you support |
Great thank you for the update. 🙏 |
Description
web-vitals
has been imported but all methods are undefined, please see the image below.Please help me to investigate
Steps to reproduce
initializeFaro
will face the issueExpected behavior
Actual behavior
Environment
"@grafana/faro-react": "^1.3.8",
"@grafana/faro-web-tracing": "^1.3.8",
"react": "^18.3.1",
Node@20.13.1
The text was updated successfully, but these errors were encountered: