Error installing dgraph-js v24.0.0

I think you get that error because grpc.io does not support arm64 on darwin yet. Have you tried another platform or cpu architecture?