Angular-google-maps: I can't install for angular 11

Created on 5 Feb 2021  路  5Comments  路  Source: SebastianM/angular-google-maps

npm i @agm/core
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@"~11.0.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^9.1.0 || ^10.0.0" from @agm/[email protected]
npm ERR! node_modules/@agm/core
npm ERR! @agm/core@"*" 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 \AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! \AppData\Local\npm-cache_logs\2021-02-05T15_13_10_410Z-debug.log

Most helpful comment

@JoeOsterfeld It seems that this repository was abandoned and not maintained any more

All 5 comments

You can skip peer dependency conflicts checking by running npm install --legacy-peer-deps or you can set npm config set legacy-peer-deps true and then run npm install once again.

More information: https://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major

You can skip peer dependency conflicts checking by running npm install --legacy-peer-deps or you can set npm config set legacy-peer-deps true and then run npm install once again.

More information: https://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major

Hi, try npm install --legacy-peer-deps i've this:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@angular-devkit/[email protected]',
npm WARN EBADENGINE required: { node: '>= 10.13.0', npm: '^6.11.0 || ^7.5.6', yarn: '>= 1.13.0' },
npm WARN EBADENGINE current: { node: 'v14.15.3', npm: '7.5.4' }
npm WARN EBADENGINE }

@blondie63 it's unrelated. You have to update npm to 7.5.6 or newer to match @angular-devkit/architect requirements.

Is there a plan to update the package for compatibility with Angular 11? Looks like this PR might be doing it? https://github.com/SebastianM/angular-google-maps/pull/1919

@JoeOsterfeld It seems that this repository was abandoned and not maintained any more

Was this page helpful?
0 / 5 - 0 ratings