Error: Cannot find module "js-marker-clusterer"
See original GitHub issueIssue description Error with marker clusterer.
Steps to reproduce and a minimal demo of the problem Install @agm/js-marker-clusterer, and import it in the app.module.ts file
import { AgmCoreModule, MarkerManager } from '@agm/core';
import { AgmJsMarkerClustererModule, ClusterManager } from '@agm/js-marker-clusterer';
What steps should we try in your demo to see the problem?
Current behavior
Expected/desired behavior
angular2 & angular-google-maps version
"@angular/core": "4.1.3",
...
"@agm/core": "^1.0.0-beta.1",
"@agm/js-marker-clusterer": "^1.0.0-beta.1",
Other information
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Getting cannot find module error in js-marker-clusterer file #1399
Issue description I am using, Angular CLI: 6.0.0 Node: 10.0.0 OS: linux x64 Angular: 6.0.0 ... animations, cli, common, compiler, ...
Read more >@googlemaps/markerclusterer - npm
Creates and manages per-zoom-level clusters for large amounts of markers.. Latest version: 2.0.14, last published: a month ago.
Read more >Is there an npm module for markerclusterer that can be used ...
js from github. The npm modules I have found are google-maps-markerclusterer and markerclustererplus . There is no documentation for these ...
Read more >@googlemaps/js-markerclusterer - Google Maps API Libraries
The library creates and manages per-zoom-level clusters for large amounts of markers. Try the demo. screenshot. See the history section and migration section ......
Read more >Google Maps MarkerClusterer Import (Javascript / Node js)
I am trying to load MarkerClusterer into my Node JS app and I keep running into errors. "http://localhost:65304/@googlemaps/markerclusterer ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The solution is this:
@SebastianM shouldn’t this be automatically installed when installing
@agm/js-marker-clusterer
?Edit: I got it, it’s in peerDependencies, npm issued a warning that I overlooked
should be mentioned here as well https://angular-maps.com/api-docs/js-marker-clusterer/dependencies.html