Most likely fix: The entity is not introduced to the project OR is not loaded in appModule.
This error happening when you have misspelled your entity name, misspelled import paths or did not include your entity in connection configuration.
Re-run the command before solution below. sometimes it works when rerun the command without any changes :/
Also, sometimes you forgot to import outerEntity (e.g. 'contract' in: Job#contract) in forFeature of innerEntity (e.g. Job)