2.1.0 AOT error

Building my app with angular-cli and ng-bootstrap 2.1.0 yields

ERROR in ./node_modules/@ng-bootstrap/ng-bootstrap/datepicker/datepicker.module.js
Module not found: Error: Can't resolve './ngb-date-adapter' in 'myproject/node_modules/@ng-bootstrap/ng-bootstrap/datepicker'

2 thoughts on “2.1.0 AOT error

  1. Hey guys, I’m having the same issue on ng-bootstrap v3.2.

    Angular CLI: 6.2.1
    Node: 6.14.4
    OS: linux x64
    Angular: 6.1.7
    ... animations, common, compiler, compiler-cli, core, forms
    ... http, platform-browser, platform-browser-dynamic
    ... platform-server, router, service-worker

    I’m getting module not found error in all of ng-bootstrap module (accordion, alert, typeahead, etc.)
    I’ve tried deleting my node_modules folder and clearing npm cache but the problem persist.

    Am I the only one having this problem?