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 semantic-release@19.0.3: 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/babel-plugin@11.3.0" has unmet peer dependency "@babel/core@^7.0.0".
warning "@emotion/styled > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.12.13" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "next > styled-jsx > @babel/plugin-syntax-jsx@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > nextjs-progressbar@0.0.10" has incorrect peer dependency "next@^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0".
warning " > react-quill@1.3.5" 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?
deploying via docker.
I get an error at the moment of building the "fe" service.
In the
DockerfileI change the lineRUN yarn installtoRUN yarn install --ignore-enginesI'm getting warnings:
The container started, but even at the moment of registration errors occur.
what to do?