harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.

Home Page:https://unlighthouse.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doesn't work when running on LAN server

jamaluddinrumi opened this issue · comments

Describe the bug

i run it on my local development server with command below

#!/bin/bash

RANDOM=$(date +%s%N | cut -b10-19)

unlighthouse --site www.indomascot.com --urls /portofolio/,/cara-pemesanan/,/syarat-ketentuan/,/tentang-kami/ --mobile --no-cache --samples 2 --output-path ./Public/lh-reports/$(($RANDOM)) --debug

but i can not viewing the results properly via my development-laptop
hint: look at can not make a connection to WebSocket message below
Screen Shot 2023-05-31 at 7 29 42 AM

here is the output generated by server
Screen Shot 2023-05-31 at 7 34 11 AM

Reproduction

No response

System / Nuxt Info

System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (4) x64 Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
    Memory: 3.71 GB / 7.66 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node
    Yarn: 1.22.19 - ~/.pnpm-store/yarn
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.0/bin/npm
  Browsers:
    Chrome: 113.0.5672.126
    Chromium: 113.0.5672.126

I think this is related to Chrome version. Check this issue
I managed to run it by setting chrome.useSystem: false this will download an older version which works

I think this is related to Chrome version. Check this issue I managed to run it by setting chrome.useSystem: false this will download an older version which works

i'll check it out
thanks btw for your info

I managed to run it by setting chrome.useSystem: false this will download an older version which works

Thanks for the tip. This worked for me 👍