For me this hint helped. Just run npm run build before generating with npm run typeorm -- migration:generate -n migration_name the new migration. Somehow an up to date dist folder needs to be present.
For me this hint helped. Just run npm run build before generating with npm run typeorm -- migration:generate -n migration_name the new migration. Somehow an up to date dist folder needs to be present.