StanGirard/seo-audits-toolkit

Lighthouse wartning and service beats failed issues

koolwen opened this issue · 1 comments

Hi guys,

I'm unable to install the tool due to following errors:

warning lighthouse > raven > uuid@3.3.2: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning lighthouse > intl-messageformat > intl-messageformat-parser@1.8.1: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
error lighthouse@9.3.1: The engine "node" is incompatible with this module. Expected version ">=14.15". Got "12.22.10"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
The command '/bin/sh -c yarn global add lighthouse' returned a non-zero code: 1
ERROR: Service 'beats' failed to build : Build failed

I've followed all the steps except:
docker-compose pull ## docker-compose build if you want to build it on your own

I got this same issue with lighthouse as well. After trying to pin the lighthouse version to v8.6.0 in the server dockerfile, I could get it to build but im getting a react error on the dashboard