What does the error say exactly? Please copy the entire code here and I can determine what the fix would be. There may be an issue with another component or script and it wants you to fix them before adding that script. You could try a different version of Unity but I’m not sure that would resolve the issue.