For me, the old workflow also didn't work anymore with Alfred 5 and macOS 12.4. Thanks to this issue, I found out there is a newer JS version. @rhydlewis I think it would be a good idea to add a note to this project's README mentioning the new JS version.
I had the same issue. It might be a configuration issue (at least for me it was).
In case you encounter this error, you can run the build step with a more verbose output using this command:
docker-compose build --pull --no-cache --progress=plain