Angular-google-maps: agm-core.js:4538 Uncaught TypeError: Object(...) is not a function

Created on 21 Nov 2019  路  5Comments  路  Source: SebastianM/angular-google-maps

Issue description
when i build or serve the application it show me below in the CLI

WARNING in ./node_modules/@agm/core/fesm5/agm-core.js 4538:34-52
"export '傻傻defineInjectable' was not found in '@angular/core'

WARNING in ./node_modules/@agm/core/fesm5/agm-core.js 4538:120-128
"export '傻傻inject' was not found in '@angular/core'

and in browser console i see this

Uncaught TypeError: Object(...) is not a function

Most helpful comment

when i rolled back to v 1.0.0 everything working fine now

All 5 comments

when i rolled back to v 1.0.0 everything working fine now

@moayadnajd Same here, when i serve my application with latest node_modules installed, it took the latest version of @agm-core-> v1.1.0 , hence i see an error in browser console --

agm-core-issue

1.1.0 is compatible with angular 8+

just update my npm version and it is working fine with @agm/core 1.0.0 version on angular 7

updating to @[email protected] for angular v6 worked for me. thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iget-master picture iget-master  路  24Comments

smcardle picture smcardle  路  27Comments

AckerApple picture AckerApple  路  26Comments

jongunter picture jongunter  路  38Comments

philippeboyd picture philippeboyd  路  76Comments