Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agm-direction' is not a known element #108

Open
umsuka opened this issue May 10, 2021 · 2 comments
Open

agm-direction' is not a known element #108

umsuka opened this issue May 10, 2021 · 2 comments

Comments

@umsuka
Copy link

umsuka commented May 10, 2021

Hi

I am using Angular 11 and ionic 5

Here is my info

Ionic:

   Ionic CLI                     : 6.13.1 (C:\Users\xxx\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 5.6.4
   @angular-devkit/build-angular : 0.1000.8
   @angular-devkit/schematics    : 10.0.8
   @angular/cli                  : 10.0.8
   @ionic/angular-toolkit        : 2.3.3

Cordova:

   Cordova CLI       : 10.0.0
   Cordova Platforms : android 9.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 17 other plugins)

Utility:

   cordova-res : 0.15.3
   native-run  : 1.3.0

System:

   Android SDK Tools : 26.1.1 (C:\Users\xxx\AppData\Local\Android\Sdk)
   NodeJS            : v12.20.2 (C:\Program Files\nodejs\node.exe)
   npm               : 7.11.2
   OS                : Windows 10

I get these errors when loading the map on init

'agm-direction' is not a known element:
1. If 'agm-direction' is an Angular component, then verify that it is part of this module.
2. If 'agm-direction' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.


core.js:7813 Can't bind to 'origin' since it isn't a known property of 'agm-direction'.

Can't bind to 'waypoint' since it isn't a known property of 'agm-direction'.

Thanks

@explooosion
Copy link
Owner

Hi @umsuka , I have build an ionic app for sample, hope to help you.

https://github.com/explooosion/ionic-agm-direction-example

@philecom
Copy link

Add the module and import it into the component module you're applying the directive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants