Skip to content

Specify node version #43

Description

@cabello

Hi 👋, my package json contains:

"engines": {
    "node": ">=16.3.0 <17"
  },

I set the environment variable NODE_VERSION to 16.3.0.
I set .node-version content to 16.3.0
I set .tool-versions content to nodejs 16.3.0 (asdf version manager)

While trying to do my first build I get the following:

yarn install v1.22.5
[1/5] Validating package.json...
error venue-client@0.1.0: The engine "node" is incompatible with this module. Expected version ">=16.3.0 <17". Got "15.3.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Expected behavior
To some of these options to enforce the correct node version, 16.

Thank you 🙇
I appreciate you looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions