wrtc package doesn't support M1 macs
The issue is with dependency wrtc
. Here is the link to the issue on its repo. This issue can be easily resolved by temporarily switching to use @koush/wrtc
(see this discussion), or at least to provide instructions on the README for people using M1 machines to swap-out wrtc
for @koush/wrtc
for building the project.