Well, I managed to solve this as soon as I had posted the question above!
It turns out there is a know issue with the latest version of Parcel and certain environments, related to PARCEL_WORKERS. There are a couple of workarounds discussed here.
For me, adding the following environment variable did the trick:
PARCEL_WORKER_BACKEND
= process