xieziyu / ngx-amap

angular 2+ component for AMap (Gaode map)
https://xieziyu.github.io/ngx-amap
MIT License
148 stars 42 forks source link

ERROR in : 'ngx-amap' is not a known element:如何解决? #34

Open YuxingXie opened 5 years ago

YuxingXie commented 5 years ago

[ng] 1. If 'ngx-amap' is an Angular component, then verify that it is part of this module. [ng] 2. If 'ngx-amap' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" [ng] <ion-card-content class="p-0 m-0"> [ng] [ERROR ->] <ngx-amap class="demo-map"> </ngx-amap> [ng] </ion-card-content> [ng] </ion-card> [ng] ") [ng]

herohql521 commented 2 years ago

我也遇到了一样的问题 'ngx-amap' is not a known element