@PiMunch thanks for posting the errors! This is weird, I can see from the first log you’ve got the latest code OK. The second post you’ve made is showing the same error message from earlier because it’s still running the old version of the code before the fix.
You mentioned that you’re running Windows and are using Git to clone the repo and balena-cli to push. I’ve seen vague error messages like this before where line endings were the problem. Take a look at my post in another thread here and see if it helps: piHole webinterface not reachable
We also have an open issue here which we can attach this thread to if it does turn out to be the problem: https://github.com/balena-io/balena-cli/issues/1273