2 thoughts on “There is no directive with “exportAs” set to “ngbDatepicker”

  1. @LeoCreer that error may be caused by not importing NgbModule on your specified module. If you apply lazy loading module method, you must import NgbModule on any feature module that its component needs any ng-bootstrap components, not only on main application module (app.module.ts).