79673136

Date: 2025-06-20 09:26:35
Score: 3
Natty:
Report link

I have the same error when it's trying to resolve path aliases.
For my case, i add --project tsconfig.json in the command to load proper config and it works.
In your case, it would be:

"typeorm": "ts-node --project tsconfig.json -r tsconfig-paths/register ./node_modules/.bin/typeorm"

... or you can create another tsconfig file e.g. tsconfig.typeorm.js and add --project tsconfig.typeorm.json in your command.

Reasons:
  • Whitelisted phrase (-1): In your case
  • RegEx Blacklisted phrase (1): I have the same error
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same error
  • Low reputation (1):
Posted by: Ngoc Du Le