Upon launching my project, I encountered the following error:
ColumnTypeUndefinedError: Column type for Order#author is not defined and cannot be guessed. To resolve this issue, ensure that you have enabled the "emitDecoratorMetadata": true option in tsconfig.json. Additionally, make sure to import "reflect-metadata" at the top of your main entry file in the application (before any entity imports). If you are using JavaScript instead of TypeScript, you must explicitly specify a column type.
My column appears as shown below:
@Column({
nullable: true
})
author: User;