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
The error says:
Uncaught Error: Type ScrollSpyElementDirective is part of the declarations of 2 modules: ScrollSpyModule and AppModule! Please consider moving ScrollSpyElementDirective to a higher module that imports ScrollSpyModule and AppModule.
I am getting this error in browser, the ScrollSpyElementDirective is imported only one time and added in @NgModule imports metadata.
I am importing these:
import { ScrollSpyModule, ScrollSpyService, ScrollSpyElementDirective } from 'ngx-scrollspy';
Is it OK if I don't import ScrollSpyElementDirective, whether ScrollSpyElementDirective is included in ScrollSpyModule which I've also imported.
Please help. Thanks
The text was updated successfully, but these errors were encountered:
The error says:
Uncaught Error: Type ScrollSpyElementDirective is part of the declarations of 2 modules: ScrollSpyModule and AppModule! Please consider moving ScrollSpyElementDirective to a higher module that imports ScrollSpyModule and AppModule.
I am getting this error in browser, the ScrollSpyElementDirective is imported only one time and added in @NgModule imports metadata.
I am importing these:
import { ScrollSpyModule, ScrollSpyService, ScrollSpyElementDirective } from 'ngx-scrollspy';
Is it OK if I don't import ScrollSpyElementDirective, whether ScrollSpyElementDirective is included in ScrollSpyModule which I've also imported.
Please help. Thanks
The text was updated successfully, but these errors were encountered: