Skip to content
Advertisement

ERROR [ExceptionHandler] No repository for “Product” was found. Nest.js

I am trying to register and migrate a new entity (Nest.js) but it fails with the following error text:

JavaScript

product.entity.ts

JavaScript

product.module.ts

JavaScript

Any ideas?

Advertisement

Answer

You could use the auto load entities feature to circumvent that. (like I said on discord)

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement