I have done everything syntax checks on class then consistency check on component but no result.
Yesterday I logged in into the system and checked that component again it was allowing me to redefine.
I have encountered this issue for 2 different systems but not able to get clear understanding why this is happening.