We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Error: Unexpected value 'InfiniteScrollModule' imported by the module 'AppModule'. Please add a @NgModule annotation.
src/app/App.module.ts @NgModule({ imports: [ SharedModule.forRoot(), FormsModule, ReactiveFormsModule, HttpModule, TransferHttpModule, InfiniteScrollModule, NgReduxModule, MdToolbarModule, MdIconModule, MdMenuModule, MdTabsModule, MdSnackBarModule, MdInputModule, MdButtonModule, MdSelectModule, DialogModule.forRoot([LoginForm, SignupComponent, ResetComponent]), CardModule, TabsModule, FilterDropdownModule, AuthModule, RouterModule.forRoot(AppRoutes) ], providers: [ AuthenticationService, AuthGuard, DialogService, IdentityService, StorageService, UserService, ToasterService, LiveAnnouncer, PollingService, FacebookService ], declarations: [ AppComponent, HomeView, HeaderComponent, FooterComponent, NavBarComponent, LoginForm, SignupComponent, ResetComponent ], exports: [ AppComponent ], bootstrap : [ AppComponent ] }) export class AppModule { constructor(private _facebookService: FacebookService) { let initParams: InitParams = { appId: Config.facebookAuth.clientId, xfbml: true, version: 'v2.9' }; //initialize and setup the SDK this._facebookService.init(initParams); } }
The text was updated successfully, but these errors were encountered:
make sure your build process extracts the correct file for inifinite-scroller
Sorry, something went wrong.
fix #157 #162 #171 #188, add examples
f042c6a
No branches or pull requests
Error: Unexpected value 'InfiniteScrollModule' imported by the module 'AppModule'. Please add a @NgModule annotation.
src/app/App.module.ts
@NgModule({
imports: [
SharedModule.forRoot(),
FormsModule,
ReactiveFormsModule,
HttpModule,
TransferHttpModule,
InfiniteScrollModule,
NgReduxModule,
MdToolbarModule,
MdIconModule,
MdMenuModule,
MdTabsModule,
MdSnackBarModule,
MdInputModule,
MdButtonModule,
MdSelectModule,
DialogModule.forRoot([LoginForm, SignupComponent, ResetComponent]),
CardModule,
TabsModule,
FilterDropdownModule,
AuthModule,
RouterModule.forRoot(AppRoutes)
],
providers: [
AuthenticationService,
AuthGuard,
DialogService,
IdentityService,
StorageService,
UserService,
ToasterService,
LiveAnnouncer,
PollingService,
FacebookService
],
declarations: [
AppComponent,
HomeView,
HeaderComponent,
FooterComponent,
NavBarComponent,
LoginForm,
SignupComponent,
ResetComponent
],
exports: [ AppComponent ],
bootstrap : [ AppComponent ]
})
export class AppModule {
constructor(private _facebookService: FacebookService) {
let initParams: InitParams = {
appId: Config.facebookAuth.clientId,
xfbml: true,
version: 'v2.9'
};
//initialize and setup the SDK
this._facebookService.init(initParams);
}
}
The text was updated successfully, but these errors were encountered: