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 [email protected] #158

Open
mvitsvk opened this issue Feb 6, 2024 · 0 comments
Open

error [email protected] #158

mvitsvk opened this issue Feb 6, 2024 · 0 comments

Comments

@mvitsvk
Copy link

mvitsvk commented Feb 6, 2024

deploying via docker.
I get an error at the moment of building the "fe" service.

yarn install v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=16 || ^14.17". Got "12.22.12"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c yarn install' returned a non-zero code: 1
ERROR: Service 'fe' failed to build : Build failed

In the Dockerfile I change the line RUN yarn install to RUN yarn install --ignore-engines
I'm getting warnings:

yarn install v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@emotion/styled > @emotion/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@emotion/styled > @emotion/babel-plugin > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "next > styled-jsx > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > [email protected]" has incorrect peer dependency "next@^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0".
warning " > [email protected]" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0".
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...

The container started, but even at the moment of registration errors occur.
what to do?

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