Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. import { NgbModule } from '@ng-bootstrap/ng-bootstrap'
  2. import { NgbModalModule } from '@ng-bootstrap/ng-bootstrap'
  3.  
  4. imports: [
  5. CalendarModule.forRoot({
  6. provide: DateAdapter,
  7. useFactory: adapterFactory
  8. }),
  9. NgbModule,
  10. NgbModalModule,
  11. FlatpickrModule.forRoot(),
  12. CalendarModule.forRoot({
  13. provide: DateAdapter,
  14. useFactory: adapterFactory
  15. }),
  16.  
  17. Uncaught TypeError: Object(...) is not a function
  18. at ng-bootstrap.js:146
  19. at Module../node_modules/@ng-bootstrap/ng-bootstrap/fesm5/ng-bootstrap.js (ng-bootstrap.js:148)
  20. at __webpack_require__ (bootstrap:78)
  21. at Module../src/app/app.module.ts (app.component.ts:17)
  22. at __webpack_require__ (bootstrap:78)
  23. at Module../src/main.ts (main.ts:1)
  24. at __webpack_require__ (bootstrap:78)
  25. at Object.0 (main.ts:12)
  26. at __webpack_require__ (bootstrap:78)
  27. at checkDeferredModules (bootstrap:45)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement