DEV Community

Discussion on: Clean Architecture with Nodejs, TypeScript and Mongo.

Collapse
 
dgorodriguez_ profile image
Diego Rodriguez

When trying to create the orm adapter, I get the error "🚫 You must first create the candidate entity to be imported to the ORM adapter.", I already created the userModel entity with the properties.
What can be?

Collapse
 
japhernandez profile image
John Piedrahita • Edited

How are you creating the adapter and for which ORM?

scaffold create:entity --name=user
scaffold create:adapter-orm --name=user

By convention you must use the same name of the entity.