-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
lighthouse CLI gives "Unexpected token" error on Ubuntu 20.04.1 #11854
Labels
Comments
I think this could be your issue: |
I ran into the same problem and upgrading to node 12 worked. |
Thanks, upgrading to node 12 also fixed the issue on my side. |
@pdr is right the v7 release just upgraded the minimum node version to 12 👍 |
4vanger
added a commit
to 4vanger/lighthouse-ci
that referenced
this issue
Apr 5, 2021
Update Node version to 12 to avoid bug described in GoogleChrome/lighthouse#11854
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Provide the steps to reproduce
lighthouse google.com
results in the following error message:/usr/local/lib/node_modules/lighthouse/lighthouse-core/gather/driver.js:68
_traceCategories = Driver.traceCategories;
^
What is the current behavior?
I get an error message
What is the expected behavior?
Command runs without error message.
Environment Information
Related issues
The text was updated successfully, but these errors were encountered: