Who had this starting from January 2025, just check consistency of @nestjs/typeorm
versions across your app.
I had this in yarn monorepo. After last release to 11 version they changed how DataSource is provided from sub-packages. I installed an new application package with latest version while other packages had previous ones and this happened.
Downgrading new version to same with others (^10.0.2
) solved the problem.