Angular-google-maps: 404 @agm/core

Created on 17 May 2017  路  2Comments  路  Source: SebastianM/angular-google-maps

Issue description
localhost/:24 Error: Fetch error: 404 Not Found
Instantiating http://localhost:3000/@agm/core

On my app.module I 've the below config

import {AgmCoreModule} from "@agm/core";

@NgModule({
    imports: [...,
         AgmCoreModule.forRoot({apiKey: 'myKey'})],
....

On my html component I have

<agm-map [latitude]="lat" [longitude]="lng" [zoom]="zoom" [zoomControl]="false">
                <agm-marker
                        [latitude]="lat"
                        [longitude]="lng">

                    <agm-info-window>
                        <strong>{{label}}</strong>
                    </agm-info-window>

                </agm-marker>
            </agm-map>

What would be present on System.js?

Most helpful comment

'@agm/core': 'node_modules/@agm/core/core.umd.js' on systemjs solves it!

All 2 comments

'@agm/core': 'node_modules/@agm/core/core.umd.js' on systemjs solves it!

This should be in the documentation. 馃檪

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stot3 picture stot3  路  3Comments

marcelinobadin picture marcelinobadin  路  3Comments

vamsibassetty08 picture vamsibassetty08  路  3Comments

shedar picture shedar  路  4Comments

matishw picture matishw  路  3Comments