# Node\_gyp failing during discovery-cli install

**URL:** https://forum.scrt.network/t/node-gyp-failing-during-discovery-cli-install/1528
**Category:** Developer Help
**Created:** [April 18, 2020, 5:35pm UTC](https://forum.scrt.network/t/node-gyp-failing-during-discovery-cli-install/1528 "2020-04-18T17:35:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![laura](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/laura/32/911_2.png) [@laura](https://forum.scrt.network/u/laura)
#### Post date: [April 18, 2020, 5:35pm UTC](https://forum.scrt.network/t/node-gyp-failing-during-discovery-cli-install/1528/1 "2020-04-18T17:35:03Z")

</div>

From @Lim (Enigma Discord)

I’m on MacOS Catalina. I’ve checked that forum post but actually i’m having a different error. I’m using node version 11.5.0 as specified in the README on the github repository for the tutorial.

it fails on “node-gyp rebuild” command

during the discovery-cli installation process

---

<div class="post-metadata">

### Author: ![laura](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/laura/32/911_2.png) [@laura](https://forum.scrt.network/u/laura)
#### Post date: [April 18, 2020, 6:01pm UTC](https://forum.scrt.network/t/node-gyp-failing-during-discovery-cli-install/1528/2 "2020-04-18T18:01:43Z")

</div>

Adding a note on how @Lim resolved this:

I’ve managed to let it work with node v11.5.0 but only after reinstalling it with nvm and also i had to reinstall x-code
