If you use nestjs dependency injection, you must prefix the repository in the constructor of the service with @InjectRepository(TheEntityName), or you will get this similar error:
"Nest can't resolve dependencies of the TheServiceName (?). Please make sure that the argument Repository at index [0] is available in the AppModule context."
constructor(
@InjectRepository(EntityName) private readonly myEntityRepoVariable: Repository<EntityName>
) {}