Getting an error "compilation terminated. exit status 1 Error compiling for board Arduino Nano"

You have gone too far. I suggested you delete one line of code and share the updated error messages. You seem to have gone crazy with an axe. Now you are deleting entire directories?