In the end, it was the new node version. Someone somewhere had mentioned that both v23.3.0 and v23.2.0 have the same problem.
I had been using v23.3.0 and can vouch for that one having the problem, haven't tried v23.2.0, but yes, v23.1.0 works just fine!