Skip to content

Angular version 12 doesn't allow node version 15 and 16 #20796

@floross

Description

@floross

🐞 Bug report

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Description

You cannot use the node version 15.x or 16.x. Is there a way to not enfore node version to "^12.14.1 || ^14.0.0" and allow latest version of it ?

🔬 Minimal Reproduction

> node -v
v16.0.0
> yarn

🔥 Exception or Error

yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
error @angular-devkit/build-angular@12.0.0: The engine "node" is incompatible with this module. Expected version "^12.14.1 || ^14.0.0". Got "16.0.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

🌍 Your Environment

"@angular/cli": "^12.0.0"
node v16.x

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions