Per recommendations from https://bugzilla.mozilla.org/show_bug.cgi?id=1776255#c2:
I'd recommend switching to Linux to do it, and maybe working with the authors of the guide to get it updated to either explicitly support doing the build on hosts other than Linux, or explicitly stating that the guide is for Linux hosts only.