You quit after a single day? those are rookie tenacity numbers bud, gotta pump those up. give yourself at least a week, all new things are tough. I have been programming professionally for 15 years and I still encounter these uphill battles that feel terrible - but once you are over the hump it is often smooth sailing.
I agree with you! But in this case it's for a hobby project and I don't have much personal time for it. The feature I wanted to add wouldn't work with the old codebase, and I was curious to try the current libraries/tooling. But the fun factor is zero if the whole time budget goes into just setup problems.
My first ten years of software programming, i was at a distance of the build process.
Only when i was experimented did i discover how messy and complicated the build/test/deploy process can become.
So, i fully agree that it can be discouraging, when you hoped 98% of your time would be pure dev time.