question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot find module "js-marker-clusterer"

See original GitHub issue

Issue 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
cdarkencommented, Aug 31, 2017

The solution is this:

npm install -S js-marker-clusterer

@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

0reactions
loicgassercommented, May 9, 2019
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found