Sounds like you might have accidentally modified one of the JUCE files, although it’s difficult to say for sure without knowing where the error is coming from.
If the error is in a JUCE source file, then you should download a fresh copy of JUCE and replace your existing copy.