this happened to me in Angular 16, and the solution was check the @ng-bootstrap/ng-bootstrap table Dependencies, and use the exactly ng-bootstrap, Bootstrap CSS and Popper versions, for my angular version.