I followed the instructions to add the AgmMarkerSpiderModule from the official package documentation. However, when I compile, I encountered the following error message:
/directives/marker-spider.ts:14:24 - error TS2307: Cannot find module '@agm/core/services/google-maps-types' or its corresponding type declarations.
Here is a snippet of my package.json file:
"dependencies": {
"@agm/core": "^3.0.0-beta.0",
"@agm/markerclusterer": "^3.0.0-beta.0",
"@angular/animations": "^10.1.5",
"@angular/cdk": "^10.0.0",
"@angular/common": "^10.1.5",
"@angular/compiler": "^10.1.5",
"@angular/core": "^10.1.5",
"@angular/forms": "^10.1.5",
"@angular/localize": "^10.1.5",
"@angular/material": "^10.2.5",
"@angular/platform-browser": "^10.1.5",
"@angular/platform-browser-dynamic": "^10.1.5",
"@angular/router": "^10.1.5",
"@angular/service-worker": "^10.1.5",
"@fortawesome/fontawesome-free": "^5.15.1",
"@google/markerclustererplus": "^5.1.3",
"@ng-bootstrap/ng-bootstrap": "^6.2.0",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@types/googlemaps": "3.39.12",
"@types/jwt-decode": "^2.2.1",
"agm-spiderfier": "^1.0.1",
"bootstrap": "^4.5.2",
"font-awesome": "^4.7.0",
"jwt-decode": "^3.0.0",
"ng2-pdf-viewer": "^6.3.2",
"node-sass": "^4.14.1",
"rxjs": "^6.6.3",
"ts-overlapping-marker-spiderfier": "^1.0.2",
"tslib": "^2.0.2",
"zone.js": "~0.10.3"
},
Could someone provide assistance with resolving this issue?