You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i put the component into ngmodule declarations, i got an error saying 'Unexpected value 'Ng2SimpleAutocomplete' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@component annotation.'
I'm using the latest version of angular, any idea how this could happen?
The text was updated successfully, but these errors were encountered:
@flyfj I think you might have added Ng2SimpleAutocomplete at root NgModule that named AppModule.... Sorry I have no idea which problem makes that message.
I just tried this autocomplete module with angular-starter which uses angular@4.3.2 and it works well. 'angular starter' uses webpack, so I tested on my own private project which uses angular cli@1.0.0, angular@4.0.0. It works well too.
And it may be not related to your problem, I figured out this package requires 'tslib' while testing. So I moved it to the dependencies list from devDependencies and published a new version.
when i put the component into ngmodule declarations, i got an error saying 'Unexpected value 'Ng2SimpleAutocomplete' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@component annotation.'
I'm using the latest version of angular, any idea how this could happen?
The text was updated successfully, but these errors were encountered: