79531181

Date: 2025-03-24 13:23:36
Score: 1
Natty:
Report link

TypeORM can't locate your User entity file based on the import path in your data-source.ts file. you need to properly import the entity. Also, The typeorm CLI expects migration names as strings, so specify it properly by running npx typeorm migration:generate -n UserMigration -d src/data-source.ts

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Motunrayo Koyejo