Couldn't change active gamemode - 'darkrp' not found

I am getting Couldn’t change active gamemode - ‘darkrp’ not found when trying to use the command gamemode darkrp
The folder itself is called darkrp all lowercase and I have no idea why it isn’t found.