Reputation: 13914
When starting my NestJS application I am getting the following vague error:
Data type "Object" in "MyEntity.undefined" is not supported by "mysql" database.
But MyEntity
was deleted from my application. How do I solve this error?
Upvotes: 0
Views: 2104
Reputation: 13914
The entity still exists in the build output. To solve this, remove your dist
folder and restart your app.
Upvotes: 4