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

npm 7 error #278

Open
magnusviri opened this issue Nov 12, 2020 · 2 comments
Open

npm 7 error #278

magnusviri opened this issue Nov 12, 2020 · 2 comments

Comments

@magnusviri
Copy link

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

@hpawe01
Copy link
Contributor

hpawe01 commented Jan 21, 2021

It doesn't look like an error related to your NPM version but more to your Angular version. So it seems that it is more an issue about supporting Angular v10 than NPM v7.

You can install it anyway and try if it works with Angular 10 by using npm install --force.

@maurei
Copy link

maurei commented Apr 11, 2021

I'm about to start a new project using angular11 and this library. How is the compatibility this angular version? Is using this combination of versions a dead-end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants