Photos app repair glitch
When launching the Photos app (OS 10.14.6) I get a message that the default photo library needs to be repaired. I click "repair" but after it starts, a pop-up window with the same message keeps reappearing. Clicking "repair" here just relaunches the pop up and the repair itself will not continue. I have to force quit the app. I don't know if in fact my library needs to be repaired, as this seems to be a problem with the application itself. How do I proceed? Should I delete the Photos app and reinstall it? Is there a corrupt file somewhere that is causing the problem?
MacBook Air 13″, macOS 10.14