# Failed to install node-red-contrib-pca9685 after installing all all prerequisite

**URL:** <https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987>\
**Category:** General\
**Created:** [4 August 2019 09:35 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987 "2019-08-04T09:35:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![farihaPriyanka](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@farihaPriyanka](https://discourse.nodered.org/u/farihaPriyanka)\
**Post date:** [4 August 2019 09:35 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/1 "2019-08-04T09:35:19Z")

</div>

```
                              ^

```

2019-08-04T09:07:44.086Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.086Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.086Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.086Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.086Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.086Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.086Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.086Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.086Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.098Z [err] In file included from ../src/i2c.cc:105:  
2019-08-04T09:07:44.098Z [err] ../src/./writeblock.cc: In function ‘Nan::NAN\_METHOD\_RETURN\_TYPE WriteBlockAsync(Nan::NAN\_METHOD\_ARGS\_TYPE)’:  
2019-08-04T09:07:44.098Z [err] ../src/./writeblock.cc:70:32: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.098Z [err] int fd = info[0]-\>Int32Value();  
2019-08-04T09:07:44.098Z [err] ^  
2019-08-04T09:07:44.099Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.099Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.099Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.099Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.099Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.099Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.099Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.099Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.099Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.100Z [err] In file included from ../src/i2c.cc:105:  
2019-08-04T09:07:44.100Z [err] ../src/./writeblock.cc:71:34: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.100Z [err] \_\_u8 cmd = info[1]-\>Int32Value();  
2019-08-04T09:07:44.100Z [err] ^  
2019-08-04T09:07:44.100Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.100Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.100Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.100Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.100Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.100Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.100Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.100Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.100Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.101Z [err] In file included from ../src/i2c.cc:105:  
2019-08-04T09:07:44.101Z [err] ../src/./writeblock.cc:72:39: warning: ‘uint32\_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.101Z [err] \_\_u32 length = info[2]-\>Uint32Value();  
2019-08-04T09:07:44.101Z [err] ^  
2019-08-04T09:07:44.101Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.101Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.101Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.101Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2477:47: note: declared here  
2019-08-04T09:07:44.101Z [err] V8\_DEPRECATED("Use maybe version", uint32\_t Uint32Value() const);  
2019-08-04T09:07:44.101Z [err] ^ ~~~~~~~~~~  
2019-08-04T09:07:44.101Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.101Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.101Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.108Z [err] In file included from ../src/i2c.cc:105:  
2019-08-04T09:07:44.108Z [err] ../src/./writeblock.cc: In function ‘Nan::NAN\_METHOD\_RETURN\_TYPE WriteBlockSync(Nan::NAN\_METHOD\_ARGS\_TYPE)’:  
2019-08-04T09:07:44.108Z [err] ../src/./writeblock.cc:110:32: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.108Z [err] int fd = info[0]-\>Int32Value();  
2019-08-04T09:07:44.108Z [err] ^  
2019-08-04T09:07:44.108Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.108Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.108Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.108Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.108Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.108Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.108Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.108Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.108Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.108Z [err] In file included from ../src/i2c.cc:105:  
2019-08-04T09:07:44.108Z [err] ../src/./writeblock.cc:111:34: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.108Z [err] \_\_u8 cmd = info[1]-\>Int32Value();  
2019-08-04T09:07:44.108Z [err] ^  
2019-08-04T09:07:44.110Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.110Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.110Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.110Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.110Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.110Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.110Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.110Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.110Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.111Z [err] In file included from ../src/i2c.cc:105:  
2019-08-04T09:07:44.111Z [err] ../src/./writeblock.cc:112:39: warning: ‘uint32\_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.111Z [err] \_\_u32 length = info[2]-\>Uint32Value();  
2019-08-04T09:07:44.111Z [err] ^  
2019-08-04T09:07:44.111Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.111Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.111Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.111Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2477:47: note: declared here  
2019-08-04T09:07:44.111Z [err] V8\_DEPRECATED("Use maybe version", uint32\_t Uint32Value() const);  
2019-08-04T09:07:44.111Z [err] ^ ~~~~~~~~~~  
2019-08-04T09:07:44.111Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.111Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.111Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.128Z [err] In file included from ../src/i2c.cc:106:  
2019-08-04T09:07:44.128Z [err] ../src/./writei2cblock.cc: In function ‘Nan::NAN\_METHOD\_RETURN\_TYPE WriteI2cBlockAsync(Nan::NAN\_METHOD\_ARGS\_TYPE)’:  
2019-08-04T09:07:44.128Z [err] ../src/./writei2cblock.cc:68:32: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.128Z [err] int fd = info[0]-\>Int32Value();  
2019-08-04T09:07:44.128Z [err] ^  
2019-08-04T09:07:44.129Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.129Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.129Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.129Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.129Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.129Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.129Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.129Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.129Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.129Z [err] In file included from ../src/i2c.cc:106:  
2019-08-04T09:07:44.129Z [err] ../src/./writei2cblock.cc:69:34: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.129Z [err] \_\_u8 cmd = info[1]-\>Int32Value();  
2019-08-04T09:07:44.129Z [err] ^  
2019-08-04T09:07:44.129Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.129Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.129Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.129Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.129Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.129Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.129Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.129Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.129Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.129Z [err] In file included from ../src/i2c.cc:106:  
2019-08-04T09:07:44.129Z [err] ../src/./writei2cblock.cc:70:39: warning: ‘uint32\_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.129Z [err] \_\_u32 length = info[2]-\>Uint32Value();  
2019-08-04T09:07:44.129Z [err] ^  
2019-08-04T09:07:44.129Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.129Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.129Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.129Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2477:47: note: declared here  
2019-08-04T09:07:44.129Z [err] V8\_DEPRECATED("Use maybe version", uint32\_t Uint32Value() const);  
2019-08-04T09:07:44.129Z [err] ^ ~~~~~~~~~~  
2019-08-04T09:07:44.129Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.129Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.129Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.146Z [err] In file included from ../src/i2c.cc:106:  
2019-08-04T09:07:44.146Z [err] ../src/./writei2cblock.cc: In function ‘Nan::NAN\_METHOD\_RETURN\_TYPE WriteI2cBlockSync(Nan::NAN\_METHOD\_ARGS\_TYPE)’:  
2019-08-04T09:07:44.146Z [err] ../src/./writei2cblock.cc:108:32: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.146Z [err] int fd = info[0]-\>Int32Value();  
2019-08-04T09:07:44.146Z [err] ^  
2019-08-04T09:07:44.150Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.150Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.150Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.150Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.150Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.150Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.150Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.150Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.150Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.150Z [err] In file included from ../src/i2c.cc:106:  
2019-08-04T09:07:44.150Z [err] ../src/./writei2cblock.cc:109:34: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.150Z [err] \_\_u8 cmd = info[1]-\>Int32Value();  
2019-08-04T09:07:44.150Z [err] ^  
2019-08-04T09:07:44.150Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.150Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.150Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.150Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.150Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.150Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.150Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.150Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.150Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.150Z [err] In file included from ../src/i2c.cc:106:  
2019-08-04T09:07:44.150Z [err] ../src/./writei2cblock.cc:110:39: warning: ‘uint32\_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.150Z [err] \_\_u32 length = info[2]-\>Uint32Value();  
2019-08-04T09:07:44.150Z [err] ^  
2019-08-04T09:07:44.150Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.150Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.150Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.150Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2477:47: note: declared here  
2019-08-04T09:07:44.150Z [err] V8\_DEPRECATED("Use maybe version", uint32\_t Uint32Value() const);  
2019-08-04T09:07:44.150Z [err] ^ ~~~~~~~~~~  
2019-08-04T09:07:44.150Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.150Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.150Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.162Z [err] In file included from ../src/i2c.cc:107:  
2019-08-04T09:07:44.162Z [err] ../src/./writequick.cc: In function ‘Nan::NAN\_METHOD\_RETURN\_TYPE WriteQuickAsync(Nan::NAN\_METHOD\_ARGS\_TYPE)’:  
2019-08-04T09:07:44.162Z [err] ../src/./writequick.cc:47:32: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.162Z [err] int fd = info[0]-\>Int32Value();  
2019-08-04T09:07:44.162Z [err] ^  
2019-08-04T09:07:44.189Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.189Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.189Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.189Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.189Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.189Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.189Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.189Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.189Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.189Z [err] In file included from ../src/i2c.cc:107:  
2019-08-04T09:07:44.189Z [err] ../src/./writequick.cc:48:34: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.189Z [err] \_\_u8 bit = info[1]-\>Int32Value();  
2019-08-04T09:07:44.189Z [err] ^  
2019-08-04T09:07:44.191Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.191Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.191Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.191Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.191Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.191Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.191Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.191Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.191Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.191Z [err] In file included from ../src/i2c.cc:107:  
2019-08-04T09:07:44.191Z [err] ../src/./writequick.cc: In function ‘Nan::NAN\_METHOD\_RETURN\_TYPE WriteQuickSync(Nan::NAN\_METHOD\_ARGS\_TYPE)’:  
2019-08-04T09:07:44.191Z [err] ../src/./writequick.cc:60:32: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.191Z [err] int fd = info[0]-\>Int32Value();  
2019-08-04T09:07:44.191Z [err] ^  
2019-08-04T09:07:44.191Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.191Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.191Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.191Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.191Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.191Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.191Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.191Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.191Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.191Z [err] In file included from ../src/i2c.cc:107:  
2019-08-04T09:07:44.191Z [err] ../src/./writequick.cc:61:34: warning: ‘int32\_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2019-08-04T09:07:44.191Z [err] \_\_u8 bit = info[1]-\>Int32Value();  
2019-08-04T09:07:44.191Z [err] ^  
2019-08-04T09:07:44.191Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:26,  
2019-08-04T09:07:44.191Z [err] from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.191Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.191Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:2478:46: note: declared here  
2019-08-04T09:07:44.191Z [err] V8\_DEPRECATED("Use maybe version", int32\_t Int32Value() const);  
2019-08-04T09:07:44.191Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.191Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8\_DEPRECATED’  
2019-08-04T09:07:44.191Z [err] declarator **attribute** ((deprecated(message)))  
2019-08-04T09:07:44.191Z [err] ^ ~~~~~~~~~  
2019-08-04T09:07:44.360Z [err] In file included from /home/pi/.cache/node-gyp/10.16.1/include/node/node.h:63,  
2019-08-04T09:07:44.360Z [err] from ../src/i2c.cc:1:  
2019-08-04T09:07:44.360Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P\*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (_)(const v8::WeakCallbackInfonode::ObjectWrap&)]’:  
2019-08-04T09:07:44.360Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/node\_object\_wrap.h:84:78: required from here  
2019-08-04T09:07:44.360Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void (_)(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void (\*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]  
2019-08-04T09:07:44.360Z [err] reinterpret\_cast(callback), type);  
2019-08-04T09:07:44.360Z [err] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
2019-08-04T09:07:44.405Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P\*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (_)(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:  
2019-08-04T09:07:44.405Z [err] ../node\_modules/nan/nan\_object\_wrap.h:66:61: required from here  
2019-08-04T09:07:44.405Z [err] /home/pi/.cache/node-gyp/10.16.1/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void (_)(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (\*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]  
2019-08-04T09:07:44.994Z [err] make: \*\*\* [i2c.target.mk:99: Release/obj.target/i2c/src/i2c.o] Error 1  
2019-08-04T09:07:44.994Z [out] make: Leaving directory '/home/pi/.node-red/node\_modules/i2c-bus/build'  
2019-08-04T09:07:45.001Z [err] gyp  
2019-08-04T09:07:45.002Z [err]  
2019-08-04T09:07:45.003Z [err] ERR! build error  
2019-08-04T09:07:45.005Z [err] gyp  
2019-08-04T09:07:45.006Z [err] ERR! stack  
2019-08-04T09:07:45.007Z [err] Error: `make` failed with exit code: 2  
2019-08-04T09:07:45.008Z [err] gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:196:23)  
2019-08-04T09:07:45.008Z [err] gyp  
2019-08-04T09:07:45.008Z [err] ERR!  
2019-08-04T09:07:45.008Z [err] stack at ChildProcess.emit (events.js:198:13)  
2019-08-04T09:07:45.008Z [err] gyp  
2019-08-04T09:07:45.008Z [err] ERR!  
2019-08-04T09:07:45.008Z [err] stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:248:12)  
2019-08-04T09:07:45.010Z [err] gyp  
2019-08-04T09:07:45.010Z [err] ERR! System Linux 4.19.57-v7+  
2019-08-04T09:07:45.011Z [err] gyp  
2019-08-04T09:07:45.011Z [err] ERR! command  
2019-08-04T09:07:45.012Z [err] "/usr/local/bin/node" "/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"  
2019-08-04T09:07:45.012Z [err] gyp  
2019-08-04T09:07:45.012Z [err] ERR! cwd  
2019-08-04T09:07:45.012Z [err] /home/pi/.node-red/node\_modules/i2c-bus  
2019-08-04T09:07:45.012Z [err] gyp  
2019-08-04T09:07:45.012Z [err] ERR!  
2019-08-04T09:07:45.012Z [err] node -v v10.16.1  
2019-08-04T09:07:45.013Z [err] gyp  
2019-08-04T09:07:45.013Z [err] ERR!  
2019-08-04T09:07:45.013Z [err] node-gyp -v v5.0.3  
2019-08-04T09:07:45.013Z [err] gyp  
2019-08-04T09:07:45.014Z [err] ERR! not ok  
2019-08-04T09:07:45.787Z [err] npm  
2019-08-04T09:07:45.787Z [err] WARN node-red-project@0.0.1 No repository field.  
2019-08-04T09:07:45.787Z [err] npm  
2019-08-04T09:07:45.788Z [err] WARN node-red-project@0.0.1 No license field.  
2019-08-04T09:07:45.789Z [err]  
2019-08-04T09:07:45.946Z [err] npm  
2019-08-04T09:07:45.947Z [err] ERR! code ELIFECYCLE  
2019-08-04T09:07:45.948Z [err] npm  
2019-08-04T09:07:45.948Z [err] ERR! errno 1  
2019-08-04T09:07:45.949Z [err] npm  
2019-08-04T09:07:45.949Z [err] ERR! i2c-bus@1.1.2 install: `node-gyp rebuild`  
2019-08-04T09:07:45.949Z [err] npm ERR!  
2019-08-04T09:07:45.950Z [err] Exit status 1  
2019-08-04T09:07:45.951Z [err] npm  
2019-08-04T09:07:45.951Z [err] ERR!  
2019-08-04T09:07:45.951Z [err] npm ERR!  
2019-08-04T09:07:45.952Z [err] Failed at the i2c-bus@1.1.2 install script.  
2019-08-04T09:07:45.952Z [err] npm  
2019-08-04T09:07:45.952Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.  
2019-08-04T09:07:45.992Z [err]  
2019-08-04T09:07:45.992Z [err] npm ERR! A complete log of this run can be found in:  
2019-08-04T09:07:45.992Z [err] npm ERR! /home/pi/.npm/\_logs/2019-08-04T09\_07\_45\_960Z-debug.log  
2019-08-04T09:07:46.021Z rc=1

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [4 August 2019 10:05 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/2 "2019-08-04T10:05:41Z")

</div>

_edit, misread the date._

---

<div class="post-metadata">

**Author:** ![farihaPriyanka](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@farihaPriyanka](https://discourse.nodered.org/u/farihaPriyanka)\
**Post date:** [4 August 2019 10:24 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/3 "2019-08-04T10:24:57Z")

</div>

I already have the updated version v0.20.7 still getting those error

---

<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:** [4 August 2019 10:28 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/4 "2019-08-04T10:28:02Z")

</div>

And as @bakman2 suggests your version of nodejs is new. The contrib-node you are trying to install is old and they haven’t updated the published node.  
You either need to update the node yourself or you need to contact the author.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [4 August 2019 10:28 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/5 "2019-08-04T10:28:09Z")

</div>

Open an issue on github.

---

<div class="post-metadata">

**Author:** ![farihaPriyanka](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@farihaPriyanka](https://discourse.nodered.org/u/farihaPriyanka)\
**Post date:** [5 August 2019 05:34 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/6 "2019-08-05T05:34:45Z")

</div>

Thank you @bakman2 @ukmoose 🙂

---

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [5 October 2020 22:05 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/7 "2020-10-05T22:05:52Z")

</div>

I see that dceejay made a request on May21 to have this node updated, to reference the newer i2c library so that it installs on later versions of nodejs.

It has gone unanswered thus far. I cannot find alternative nodes for the NXP pca9685 chip.

---

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [7 October 2020 04:04 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-contrib-pca9685-after-installing-all-all-prerequisite/13987/8 "2020-10-07T04:04:52Z")

</div>

I'd like to follow up with this....

If you follow this thread: [Error installing i2c-bus for PCA9865 node](https://discourse.nodered.org/t/error-installing-i2c-bus-for-pca9865-node/9840/19)

From replies 19-21.. You will see how we are instructed to use a forked node (same fork that dceejay wants rolled back into the master) to utilize the PCA9685 Out node... I did it.... and succeeded testing it by dimming an LED with an inexpensive Adafruit board that utilizes that NXP pwm chip... Check out the thread for a work around...
