-
Notifications
You must be signed in to change notification settings - Fork 653
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
Unhandled 'error' event #604
Comments
Have the node_modules folders become corrupted @LiangChen0323? That error means that the file LHCI is trying to run is missing. As a first step, I'd try to reinstall LHCI after clearing away |
Hi @patrickhulce, The build agent starts clean every time. |
OK and |
|
@LiangChen0323 healthcheck does not attempt to run Lighthouse itself (though after this, we'll probably add it to the list)
Can you confirm this? |
@patrickhulce
|
oh! It's |
node is not in the PATH but I have a reference in the build to where it is |
Sorry, but what does this mean exactly? Unless |
I added both node and npm to the Path, the error has changed, it seems it doesn't know how to connect to the url when the CI server is behind a proxy. |
Hah, we figured it out. |
What specifically is trying to connect to which URL? If the website you're analyzing needs a proxy to be reached, you'll need to use Chrome flags to communicate the proxy (https://www.chromium.org/developers/design-documents/network-settings). If the LHCI server you're trying to reach needs a proxy to be reached, that's currently not supported out-of-the-box and you'll need to spinup a forwarding proxy and modify the |
Great! Glad you got it working 👍 |
Hi
The CI server(TeamCity) that I am using is behind a proxy. When I run
%lhci% collect --url="https://xxx/"
I got the below error message:
I also have environment variables for proxy:
HTTP_PROXY, HTTP_PROXY_HOST and HTTP_PROXY_PORT
Any idea what the error really is about?
The text was updated successfully, but these errors were encountered: