docker-node-yarn icon indicating copy to clipboard operation
docker-node-yarn copied to clipboard

node version issue

Open rzkhosroshahi opened this issue 5 years ago • 0 comments

Hello I have an issue with latest version of node-yarn. As I see in the latest version of the DockerFile you used node:latest. but when I trying to install my dependencies with yarn install command I got an error to relevant node version the error is:

yarn install v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
(node:9) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The engine "node" is incompatible with this module. Expected version "^8.16.0 || ^10.6.0 || >=11.0.0".
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
error @testing-library/[email protected]: The engine "node" is incompatible with this module. Expected version ">10.18".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I tried to use yarn install --ignore-engines command. pipeline is passed and solved error but I faced another issue in production.

rzkhosroshahi avatar Mar 31 '20 18:03 rzkhosroshahi