Did you save the file? I also had the issue and i was trying to find what the problem was, just to find out i needed to just save the code before the terminal could read it ahah