I can't install for angular 11
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
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-depsor you can setnpm config set legacy-peer-deps trueand then runnpm installonce 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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Any update on this, having the same issue
npm install @agm/core --save
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@"~12.1.4" 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 /Users/macbookair/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/macbookair/.npm/_logs/2021-08-19T14_58_50_869Z-debug.log
Any update on this, having the same issue
npm install @agm/core --save 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@"~12.1.4" 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 /Users/macbookair/.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /Users/macbookair/.npm/_logs/2021-08-19T14_58_50_869Z-debug.log
@mikende You can use this library instead: @angular/google-maps
@blondie63 it's unrelated. You have to update npm to 7.5.6 or newer to match
@angular-devkit/architectrequirements.
I just updated my npm for Angular less then 11 to this version 7.5.6 and npm run build is working. Great thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
You can skip peer dependency conflicts checking by running
npm install --legacy-peer-depsor you can setnpm config set legacy-peer-deps trueand then runnpm installonce again.More information: https://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major
Works perfect for me!!!... realy thnx
What's the sense of having a package which is not working?????? import { AgmCoreModule } from '@agm/core'; // cannot find the package. After running npm install --legacy-peer-deps, it can install, but it didn't install nothing. Checking from node_modules there's no such @agm/core package.