I have installed ngx-bootstrap version in my project version "^5.4.0". My colleague took repository and executed npm install. The ngx-bootstrap package with 5.6.1 version downloaded. When he build project he got error "Cannot find module 'ngx-bootstrap' ".
You need to import modules as
import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
and not
import { BsDatepickerModule } from 'ngx-bootstrap';
You have a breaking change associated with a minor version. This should be fixed.
Yeah, I assume, that was fixed, and 5.6.2 should be without that.
This will break MANY packages. There should be really good reasons for it.
fixed in v6
Most helpful comment
You have a breaking change associated with a minor version. This should be fixed.