Okay, so I had to go out for a while. When I came back, I booted up my computer and opened the project and now it runs just fine. I have no idea why I was getting the error before, I have no idea why it is now fixed. I can only assume there was some weirdness going on with VS Code. Thanks to anyone that responded.