Skip to content

npm 7 error #278

@magnusviri

Description

@magnusviri

I've updated to npm 7 and I can't install angular2-jsonapi. It's a brand new angular project.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: courses-frontend-jsonapi@0.0.0
npm ERR! Found: @angular/common@10.2.3
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"~10.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^8.2.5" from angular2-jsonapi@8.2.1
npm ERR! node_modules/angular2-jsonapi
npm ERR! angular2-jsonapi@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/x/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/x/.npm/_logs/2020-11-12T00_11_58_666Z-debug.log

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