I got the same issue but when I changed the name of the file it's working like the entity is missing in the file name I changed the name of file user.ts to user.entity.ts
file user.ts
user.entity.ts