Angular 8,AGM API,./node_modules/@agm/core/fesm5/agm-core.js 4538:34-52中的警告

时间:2019-12-13 06:25:24

标签: angular google-maps google-api angular-cli-v8 agm

我目前正在开发一个角度为8的项目。我正在尝试设置Google Maps API并完成:

1.maps.service.ts
2.app.module.ts
3.app.component.ts
4.app.component.html

我遇到的错误是:

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'

版本:

Angular CLI: 8.3.20
Node: 10.16.3
agm 1.1.0

从我所见,这是由于Angular更改了eeinject和eefineInjectable

任何帮助将不胜感激

0 个答案:

没有答案