Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 15 tasks
floross opened this issue May 14, 2021 · 3 comments · Fixed by #20959
Closed
1 of 15 tasks

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

floross opened this issue May 14, 2021 · 3 comments · Fixed by #20959
Labels
Milestone

Comments

@floross
Copy link

floross commented May 14, 2021

🐞 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

@alan-agius4
Copy link
Collaborator

Duplicate of angular/angular#42076

@JoostK
Copy link
Member

JoostK commented May 26, 2021

I reopened this because the CLI also needs to be updated (FW has switched to a more permissive version range)

@alan-agius4 alan-agius4 added freq2: medium type: bug/fix area: build & ci Related the build and CI infrastructure of the project labels May 27, 2021
@ngbot ngbot bot added this to the needsTriage milestone May 27, 2021
@ngbot ngbot bot modified the milestones: needsTriage, Backlog May 27, 2021
filipesilva pushed a commit that referenced this issue May 31, 2021
… restrictive

This is to match the supported versions by the framework angular/angular#42205

Closes #20796
filipesilva pushed a commit that referenced this issue May 31, 2021
… restrictive

This is to match the supported versions by the framework angular/angular#42205

Closes #20796

(cherry picked from commit 6467717)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants