central-ledger icon indicating copy to clipboard operation
central-ledger copied to clipboard

`npm install` hangs during `grpc` step, issue resolved with `pnpm`

Open tw-sithumyo opened this issue 1 year ago • 0 comments

Environment Information:

Operating System: x86_64 Manjaro Linux Kernel version 5.10.180

Issue:

While performing an npm install, the process hangs indefinitely during the grpc step. grpc is required by @mojaloop/event-sdk.

Steps to Reproduce:

  1. Run npm install on the project.

Expected Result:

The npm install command should complete successfully, with all packages, including grpc, installed correctly.

Actual Result:

The npm install command hangs indefinitely during the grpc step, preventing the completion of the installation process.

Workaround:

The issue was resolved by using pnpm for the package installation. Following the same steps as above but replacing npm install with pnpm install results in a successful installation, including the grpc package.

Additional Information:

This issue is consistently reproducible on my Arch-Based Manjaro Linux, and only pnpm has been able to bypass it successfully so far. If any additional information or testing is required, please let me know.

tw-sithumyo avatar May 30 '23 04:05 tw-sithumyo