Angular-google-maps: Error: Cannot find module "js-marker-clusterer"

Created on 31 Aug 2017  路  7Comments  路  Source: SebastianM/angular-google-maps

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

Most helpful comment

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

All 7 comments

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

Yeah, thats the reason.

@jigfox I think we need a "getting started" doc in the guidelines section. Do you have time to work on that? Otherwise I will try to write a little one.

But @SebastianM, can be js-marker-clusterer installed automatically when we install @agm/js-marker-clusterer? I can help with de guide section, but I'm still having trouble

@sebrojas14 what are you still having trouble with? maybe I can help.

@cdarken already working ;)

@sebrojas14 good :+1: But can you confirm issue #1126 ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nthonymiller picture nthonymiller  路  4Comments

shedar picture shedar  路  4Comments

gizm0bill picture gizm0bill  路  4Comments

n1t3w0lf picture n1t3w0lf  路  3Comments

stot3 picture stot3  路  3Comments