seo-audits-toolkit
seo-audits-toolkit copied to clipboard
Error when running docker-compose
trafficstars
Hello, I tried to install the app as described in the README, but got the following error:
=> ERROR [15/24] RUN yarn global add lighthouse 18.3s
------
> [15/24] RUN yarn global add lighthouse:
1.472 yarn global v1.22.19
1.583 [1/4] Resolving packages...
4.343 [2/4] Fetching packages...
17.90 error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18.16". Got "18.13.0"
17.94 error Found incompatible module.
17.94 info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
------
Dockerfile:22
--------------------
20 | RUN apt install -y chromium
21 | # Install Lighthouse
22 | >>> RUN yarn global add lighthouse
23 |
24 | # Install Pipenv
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn global add lighthouse" did not complete successfully: exit code: 1
ERROR: Service 'beats' failed to build : Build failed
My software versions are following:
root@ubuntu:/opt/seo-audits-toolkit# yarn --version
1.22.21
root@ubuntu:/opt/seo-audits-toolkit# npm --version
10.1.0
root@ubuntu:/opt/seo-audits-toolkit# nodejs --version
v20.9.0
When I run yarn install on it's own, there are no errors shown:
root@ubuntu:/opt/seo-audits-toolkit# yarn install
yarn install v1.22.21
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.13s.
Do you have any idea what would may be causing the trouble here?
It's the node version bump referenced in all the other issues.