Skip to content

node version issue #20

@rzkhosroshahi

Description

@rzkhosroshahi

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 fsevents@2.0.7: The platform "linux" is incompatible with this module.
info "fsevents@2.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.0.7: The engine "node" is incompatible with this module. Expected version "^8.16.0 || ^10.6.0 || >=11.0.0".
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
error @testing-library/vue@5.0.2: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions