Skip to content

Upgrade node, npm and packages #723

@kevinwallimann

Description

@kevinwallimann

The current version of node (12.22.10) is not available for Mac M1 chip.

Therefore I suggest upgrading to node 16.17.1 and npm 8.15.0

When running with npm 8.15.0, npm install upgrades the package-lock.json file. When executing npm install again after that, it fails with

[INFO] npm ERR! Could not resolve dependency:
[INFO] npm ERR! peer @angular/core@"^12.0.0" from @ngrx/effects@12.5.1
[INFO] npm ERR! node_modules/@ngrx/effects
[INFO] npm ERR!   @ngrx/effects@"^12.5.1" from the root project
[INFO] npm ERR! 
[INFO] npm ERR! Conflicting peer dependency: @angular/core@12.2.16
[INFO] npm ERR! node_modules/@angular/core
[INFO] npm ERR!   peer @angular/core@"^12.0.0" from @ngrx/effects@12.5.1
[INFO] npm ERR!   node_modules/@ngrx/effects
[INFO] npm ERR!     @ngrx/effects@"^12.5.1" from the root project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions