# Unable to install node-red-cf-ready

**URL:** <https://discourse.nodered.org/t/unable-to-install-node-red-cf-ready/15155>\
**Category:** General\
**Created:** [5 September 2019 13:11 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-cf-ready/15155 "2019-09-05T13:11:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alboino](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@alboino](https://discourse.nodered.org/u/alboino)\
**Post date:** [5 September 2019 13:11 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-cf-ready/15155/1 "2019-09-05T13:11:27Z")

</div>

Hi all,  
I'm trying to install an application that allows the use of node-red in any cloud foundry istance.  
The project is available at the following link:

> **[GitHub - cloudfoundry-community/node-red-cf-ready: A visual tool for wiring...](https://github.com/cloudfoundry-community/node-red-cf-ready)**
>
> A visual tool for wiring the Internet of Things ready for any Cloud Foundry instance - GitHub - cloudfoundry-community/node-red-cf-ready: A visual tool for wiring the Internet of Things ready for a...

When I put the command:

cf push node-red-cf-exprivia

I see a lot of failure (see log below).  
Please let me know how to fix the issue.  
Thank you .  
Best regards.  
Luigi Alboino

> node-gyp rebuild  
> .....  
> gyp ERR! build error  
> gyp ERR! stack Error: `make` failed with exit code: 2  
> gyp ERR! stack at ChildProcess.onExit (/tmp/contents397849010/deps/0/node/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:262:23)  
> gyp ERR! stack at ChildProcess.emit (events.js:203:13)  
> gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:272:12)  
> gyp ERR! System Linux 4.15.0-55-generic  
> gyp ERR! command "/tmp/contents397849010/deps/0/node/bin/node" "/tmp/contents397849010/deps/0/node/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"  
> gyp ERR! cwd /tmp/app/node\_modules/utf-8-validate  
> gyp ERR! node -v v12.6.0  
> gyp ERR! node-gyp -v v3.8.0  
> gyp ERR! not ok  
> serialport@1.4.10 install /tmp/app/node\_modules/serialport  
> node-pre-gyp install --fallback-to-build  
> Request error: Get [api.cf.eu10.hana.ondemand.com/v2/apps/c08a4617-3e4b-4ef2-b31f-66bd7128a65e:](http://api.cf.eu10.hana.ondemand.com/v2/apps/c08a4617-3e4b-4ef2-b31f-66bd7128a65e:) dial tcp: lookup [api.cf.eu10.hana.ondemand.com](http://api.cf.eu10.hana.ondemand.com): no such host  
> TIP: If you are behind a firewall and require an HTTP proxy, verify the https\_proxy environment variable is correctly set. Else, check your network connection.  
> FAILED

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [5 September 2019 13:18 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-cf-ready/15155/2 "2019-09-05T13:18:27Z")

</div>

That hasn’t been updated for 4 years, Node-RED has moved on a bit since then.

I guess it isn’t compatible with nodejsv12

---

<div class="post-metadata">

**Author:** ![alboino](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@alboino](https://discourse.nodered.org/u/alboino)\
**Post date:** [5 September 2019 13:27 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-cf-ready/15155/3 "2019-09-05T13:27:46Z")

</div>

I put the command:  
node-red -v  
and my versions are the following:  
5 Sep 15:21:46 - [info] Node-RED version: v0.19.5  
5 Sep 15:21:46 - [info] Node.js version: v10.15.1  
Have I to update node-red to a newer version?  
Thank you.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [5 September 2019 13:33 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-cf-ready/15155/4 "2019-09-05T13:33:09Z")

</div>

I have never seen this project and as Mark says, it hasn't been touched for a long time.

The biggest clue is in the log you've posted:

> [@alboino](#):
>
> Request error: Get [api.cf.eu10.hana.ondemand.com/v2/apps/c08a4617-3e4b-4ef2-b31f-66bd7128a65e:](http://api.cf.eu10.hana.ondemand.com/v2/apps/c08a4617-3e4b-4ef2-b31f-66bd7128a65e:) dial tcp: lookup [api.cf.eu10.hana.ondemand.com](http://api.cf.eu10.hana.ondemand.com): no such host  
> TIP: If you are behind a firewall and require an HTTP proxy, verify the https\_proxy environment variable is correctly set. Else, check your network connection.

That is a CF specific issue - nothing to do with Node-RED or the version of Node.js.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [5 September 2019 13:48 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-cf-ready/15155/5 "2019-09-05T13:48:58Z")

</div>

It also looks to be a fork of node-red to run on cf rather than a node-red node to do that
