-
Notifications
You must be signed in to change notification settings - Fork 428
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
Node.js ERR_REQUIRE_ESM with v3 #256
Comments
Thanks for creating the issue, I just hit this as well. |
Thanks for reporting. I believe this should be fixed in |
@philipwalton thanks for the reply. I was experiencing the above issues as well. I have upgraded to
|
Hello!
Migrating to web-vitals v3, I have an issue with the lib used in a commonjs build run by Node.js.
The big picture for (simplified to remove the browser build part):
When I run the app in Node.js, I get this error
Removing the
type: module
from web-vitalspackage.json
indeed resolves the issue.The text was updated successfully, but these errors were encountered: