Error installing dgraph-js v24.0.0

I have been trying to debug an error we’ve been hitting since upgrading to dgraph-js v24.0.0, and noticed that it happens in the dgraph-js repo itself as well.

This error seems to be related to the grpc package, as shown in the logs below:
(can’t post logs due to discuss limitations with new users posting links, please see the full issue description and error logs here: Error Installing v24.0.0 · Issue #231 · dgraph-io/dgraph-js · GitHub)

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

@vnium Yes, we have also verified this issue happens on Windows as well.

I’ve made a pull request here to remove the dependency, as it is seemingly unused by the library and was added by mistake in the most recent release.