Skip to content
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

Error when running docker-compose #82

Open
viktordw opened this issue Nov 22, 2023 · 0 comments
Open

Error when running docker-compose #82

viktordw opened this issue Nov 22, 2023 · 0 comments

Comments

@viktordw
Copy link

viktordw commented Nov 22, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant