You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: [email protected]
npm ERR! Found: @angular/[email protected]
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 [email protected]
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
The text was updated successfully, but these errors were encountered:
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.
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?
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: [email protected]
npm ERR! Found: @angular/[email protected]
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 [email protected]
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
The text was updated successfully, but these errors were encountered: