ng-bootstrap: 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'
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 19 (3 by maintainers)
Hey guys, I’m having the same issue on ng-bootstrap v3.2.
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?
I completely removed my node_modules folder and reinstalled everything…no errors this time at all. All is well. Thanks!
Same here, angular 7.2.16, tried with ng-bootstrap 3.3.1 / 4.0.2 / 4.2.1.
Fixed by changing import
to