# Node-red-contrib-pca9685 0.1.4 fall

**URL:** <https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777>\
**Category:** General\
**Created:** [12 March 2022 21:58 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777 "2022-03-12T21:58:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ld202167](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ld202167/32/58375_2.png) [@ld202167](https://discourse.nodered.org/u/ld202167)\
**Post date:** [12 March 2022 21:58 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/1 "2022-03-12T21:58:12Z")

</div>

2022-03-12T21:15:52.565Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-pca9685@0.1.4  
2022-03-12T21:16:18.245Z [err] npm  
2022-03-12T21:16:18.248Z [err]  
2022-03-12T21:16:18.249Z [err] ERR!  
2022-03-12T21:16:18.250Z [err]  
2022-03-12T21:16:18.250Z [err] code  
2022-03-12T21:16:18.251Z [err] 1  
2022-03-12T21:16:18.255Z [err] npm  
2022-03-12T21:16:18.256Z [err]  
2022-03-12T21:16:18.256Z [err] ERR!  
2022-03-12T21:16:18.257Z [err]  
2022-03-12T21:16:18.258Z [err] path  
2022-03-12T21:16:18.258Z [err] /config/node-red/node\_modules/i2c-bus  
2022-03-12T21:16:18.276Z [err] npm  
2022-03-12T21:16:18.277Z [err]  
2022-03-12T21:16:18.280Z [err] ERR!  
2022-03-12T21:16:18.286Z [err] command failed  
2022-03-12T21:16:18.286Z [err] npm ERR! command sh -c node-gyp rebuild  
2022-03-12T21:16:18.286Z [err] npm ERR! gyp info it worked if it ends with ok  
2022-03-12T21:16:18.286Z [err] npm ERR!  
2022-03-12T21:16:18.287Z [err] gyp info using node-gyp@9.0.0  
2022-03-12T21:16:18.287Z [err] npm ERR!  
2022-03-12T21:16:18.287Z [err] gyp info using node@16.14.0 | linux | arm64  
2022-03-12T21:16:18.287Z [err] npm ERR! gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3"  
2022-03-12T21:16:18.287Z [err] npm  
2022-03-12T21:16:18.288Z [err] ERR! gyp info spawn /usr/bin/python3  
2022-03-12T21:16:18.288Z [err] npm ERR!  
2022-03-12T21:16:18.288Z [err] gyp info spawn args [  
2022-03-12T21:16:18.288Z [err] npm ERR!  
2022-03-12T21:16:18.288Z [err] gyp info spawn args '/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/gyp/gyp\_main.py',  
2022-03-12T21:16:18.288Z [err] npm ERR! gyp info spawn args 'binding.gyp',  
2022-03-12T21:16:18.289Z [err] npm ERR! gyp info spawn args '-f',  
2022-03-12T21:16:18.289Z [err] npm  
2022-03-12T21:16:18.289Z [err] ERR! gyp info spawn args 'make',  
2022-03-12T21:16:18.289Z [err] npm ERR! gyp info spawn args '-I',  
2022-03-12T21:16:18.290Z [err] npm ERR! gyp info spawn args '/config/node-red/node\_modules/i2c-bus/build/config.gypi',  
2022-03-12T21:16:18.290Z [err] npm  
2022-03-12T21:16:18.290Z [err] ERR! gyp info spawn args '-I',  
2022-03-12T21:16:18.290Z [err] npm ERR!  
2022-03-12T21:16:18.290Z [err] gyp info spawn args '/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/addon.gypi',  
2022-03-12T21:16:18.290Z [err] npm ERR!  
2022-03-12T21:16:18.291Z [err] gyp info spawn args '-I',  
2022-03-12T21:16:18.291Z [err] npm ERR!  
2022-03-12T21:16:18.291Z [err] gyp info spawn args '/root/.cache/node-gyp/16.14.0/include/node/common.gypi',  
2022-03-12T21:16:18.291Z [err] npm ERR! gyp info spawn args '-Dlibrary=shared\_library',  
2022-03-12T21:16:18.291Z [err] npm  
2022-03-12T21:16:18.291Z [err] ERR! gyp info spawn args '-Dvisibility=default',  
2022-03-12T21:16:18.291Z [err] npm  
2022-03-12T21:16:18.291Z [err] ERR! gyp info spawn args '-Dnode\_root\_dir=/root/.cache/node-gyp/16.14.0',  
2022-03-12T21:16:18.291Z [err] npm ERR!  
2022-03-12T21:16:18.292Z [err] gyp info spawn args '-Dnode\_gyp\_dir=/usr/local/lib/node\_modules/npm/node\_modules/node-gyp',  
2022-03-12T21:16:18.292Z [err] npm ERR!  
2022-03-12T21:16:18.292Z [err] gyp info spawn args '-Dnode\_lib\_file=/root/.cache/node-gyp/16.14.0/\<(target\_arch)/node.lib',  
2022-03-12T21:16:18.292Z [err] npm ERR! gyp info spawn args '-Dmodule\_root\_dir=/config/node-red/node\_modules/i2c-bus',  
2022-03-12T21:16:18.292Z [err] npm ERR! gyp info spawn args '-Dnode\_engine=v8',  
2022-03-12T21:16:18.292Z [err] npm  
2022-03-12T21:16:18.293Z [err] ERR! gyp info spawn args '--depth=.',  
2022-03-12T21:16:18.293Z [err] npm  
2022-03-12T21:16:18.298Z [err] ERR! gyp info spawn args '--no-parallel',  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp info spawn args '--generator-output',  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp info spawn args 'build',  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp info spawn args '-Goutput\_dir=.'  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp info spawn args ]  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! build error  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack Error: not found: make  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at getNotFoundError (/usr/local/lib/node\_modules/npm/node\_modules/which/which.js:10:17)  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at /usr/local/lib/node\_modules/npm/node\_modules/which/which.js:57:18  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at new Promise ()  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at step (/usr/local/lib/node\_modules/npm/node\_modules/which/which.js:54:21)  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at /usr/local/lib/node\_modules/npm/node\_modules/which/which.js:71:22  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at new Promise ()  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at subStep (/usr/local/lib/node\_modules/npm/node\_modules/which/which.js:69:33)  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at /usr/local/lib/node\_modules/npm/node\_modules/which/which.js:80:22  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at /usr/local/lib/node\_modules/npm/node\_modules/isexe/index.js:42:5  
2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack at /usr/local/lib/node\_modules/npm/node\_modules/isexe/mode.js:8:5  
2022-03-12T21:16:18.298Z [err] npm  
2022-03-12T21:16:18.300Z [err] ERR! gyp ERR! System Linux 5.10.92-v8+  
2022-03-12T21:16:18.300Z [err] npm ERR! gyp ERR! command "/usr/bin/node" "/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"  
2022-03-12T21:16:18.300Z [err] npm ERR! gyp ERR! cwd /config/node-red/node\_modules/i2c-bus  
2022-03-12T21:16:18.300Z [err] npm ERR! gyp ERR! node -v v16.14.0  
2022-03-12T21:16:18.300Z [err] npm ERR! gyp ERR! node-gyp -v v9.0.0  
2022-03-12T21:16:18.300Z [err] npm ERR! gyp ERR! not ok  
2022-03-12T21:16:18.331Z [err]  
2022-03-12T21:16:18.331Z [err] npm  
2022-03-12T21:16:18.332Z [err] ERR! A complete log of this run can be found in:  
2022-03-12T21:16:18.332Z [err] npm ERR! /root/.npm/\_logs/2022-03-12T21\_15\_54\_333Z-debug-0.log  
2022-03-12T21:16:18.415Z rc=1

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 March 2022 22:21 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/2 "2022-03-12T22:21:27Z")

</div>

Welcome to the forum @ld202167

The key error is  
`2022-03-12T21:16:18.298Z [err] npm ERR! gyp ERR! stack Error: not found: make`  
That suggests you have not installed the build tools. How to do that depends on your OS, but it may be something like  
`sudo apt install build-essential`

---

<div class="post-metadata">

**Author:** ![ld202167](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ld202167/32/58375_2.png) [@ld202167](https://discourse.nodered.org/u/ld202167)\
**Post date:** [13 March 2022 05:51 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/3 "2022-03-13T05:51:00Z")

</div>

It's not this problem. I know that all kinds of methods still fail

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [13 March 2022 07:41 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/4 "2022-03-13T07:41:27Z")

</div>

> [@ld202167](#):
>
> It's not this problem.

If `make` is not installed then that is most definitely a problem that will make installations fail. How do you know that `make` is installed?

What OS and hardware are you running on and how did you install node red?

---

<div class="post-metadata">

**Author:** ![ld202167](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ld202167/32/58375_2.png) [@ld202167](https://discourse.nodered.org/u/ld202167)\
**Post date:** [13 March 2022 14:02 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/5 "2022-03-13T14:02:49Z")

</div>

> [@Colin](#):
>
> 你在什么操作系统和硬件上运行，你是如何安装 node red 的？

Using hasio installed by docker under raspberry pie system sounds a little messy  
Node red built under homeassistant

---

<div class="post-metadata">

**Author:** ![ld202167](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ld202167/32/58375_2.png) [@ld202167](https://discourse.nodered.org/u/ld202167)\
**Post date:** [13 March 2022 14:04 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/6 "2022-03-13T14:04:08Z")

</div>

> [@ld202167](#):
>
> Node red built under homeassistant

I tried to install in node red cli mode  
The error code is erro code 1

This plug-in seems too cumbersome to use

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [13 March 2022 14:09 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/7 "2022-03-13T14:09:03Z")

</div>

Uninstall the hassio node-red plugin then run the install script from the node-red docs to install node-red natively on the pi. [Running on Raspberry Pi : Node-RED](https://nodered.org/docs/getting-started/raspberrypi)

---

<div class="post-metadata">

**Author:** ![ld202167](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ld202167/32/58375_2.png) [@ld202167](https://discourse.nodered.org/u/ld202167)\
**Post date:** [13 March 2022 14:14 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/8 "2022-03-13T14:14:25Z")

</div>

Because of the linkage of the system, if node red is reinstalled. The linkage effect can be achieved by installing a homeassistant plug-in in node red. Is that right? Thank you, my friend！！

---

<div class="post-metadata">

**Author:** ![ld202167](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ld202167/32/58375_2.png) [@ld202167](https://discourse.nodered.org/u/ld202167)\
**Post date:** [13 March 2022 14:14 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/9 "2022-03-13T14:14:55Z")

</div>

thank you very much!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [13 March 2022 14:26 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/10 "2022-03-13T14:26:33Z")

</div>

> [@ld202167](#):
>
> I tried to install in node red cli mode

When you said that I assumed that you meant that you wanted to install node red not using the plugin.

I don't know how to communicate with HA from a native install of node-red, other than using MQTT, for example.

Your original problem was because you are running in Docker and the build tools were not present in the Docker environment (I assume). I don't know how to solve that problem with the HA plugin. Probably an HA forum would be able to help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 March 2022 14:27 UTC](https://discourse.nodered.org/t/node-red-contrib-pca9685-0-1-4-fall/59777/11 "2022-03-27T14:27:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
