Tutorial para Ubuntu 18.04 – Em processo
Instale o Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.debCorreção, para comando apt-get
E: Unmet dependencies. Try ‘apt –fix-broken install’ with no packages (or specify a solution).
sudo apt --fix-broken installInstalando YARN
apt-get install yarn -yCaso YARN de erro:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn
yarnInstale a versão do Node 14 o superior – de acordo com o retorno do YARN
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt -y install nodejs
node -vInstalando LightHouse:
git clone https://github.com/GoogleChrome/lighthouse
cd lighthouse yarn yarn install --all
yarn build-all