Ask Your Question
4

After upgrading TypeOrm on NestJs, why does the error message say that "this.athleteRepository.findByEmail" is not a valid function in the ExceptionHandler?

asked 2022-03-26 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-12-02 05:00:00 +0000

djk gravatar image

The error message indicates that the repository method "findByEmail" may have been removed or renamed after the upgrade of TypeOrm. The ExceptionHandler is trying to call this method but it cannot find it, resulting in the error message. You may need to update your repository implementation to reflect any changes in the upgraded version of TypeOrm.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-03-26 11:00:00 +0000

Seen: 7 times

Last updated: Dec 02 '21