# Trouble with node-red-contrib-opi-gpio install (versions)

**URL:** <https://discourse.nodered.org/t/trouble-with-node-red-contrib-opi-gpio-install-versions/18245>\
**Category:** General\
**Created:** [21 November 2019 18:33 UTC](https://discourse.nodered.org/t/trouble-with-node-red-contrib-opi-gpio-install-versions/18245 "2019-11-21T18:33:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quanta](https://avatars.discourse-cdn.com/v4/letter/q/6de8d8/32.png) [@Quanta](https://discourse.nodered.org/u/Quanta)\
**Post date:** [21 November 2019 18:33 UTC](https://discourse.nodered.org/t/trouble-with-node-red-contrib-opi-gpio-install-versions/18245/1 "2019-11-21T18:33:06Z")

</div>

NR 1.0.2  
Node v12.13.0  
Distributor ID: Debian  
Description: Debian GNU/Linux 10 (buster)  
Release: 10  
Codename: buster  
Platform: Nano Pi NEO 2

I am getting errors like this :  
`.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’`

When I try to add **node-red-contrib-opi-gpio**.

Opi-gpio was last updated 2 years ago and I don't see any way to make bug report. It appears that something about opi-gpio depends on node-gyp (build process?) but I haven't been able to learn enough to more than guess. 2 years suggests to me opi-gpio is no longer maintained and I need to find an alternative to access gpio, interrupts etc. going forward. Alternative is to go back to old NR version? How?

I would appreciate some guidance on how best to move. Forward? Backward? I need basic discrete I/O, PWM (optional), and interrupt capabilities to measure fan speed. Control of fan speed is not really required but I want to be able to do & test for use in follow on projects.

I am trying to learn about NR etc. but all my time is burned in trying (not very successfully) to search for solutions, fix problems and get / keep system in usable and reasonably up to date state. Learning a dead end seems counter to my objective given my limited time budget.

Thanks for any guidance.

Q

---

<div class="post-metadata">

**Author:** ![nickausten](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nickausten](https://discourse.nodered.org/u/nickausten)\
**Post date:** [1 July 2020 09:48 UTC](https://discourse.nodered.org/t/trouble-with-node-red-contrib-opi-gpio-install-versions/18245/2 "2020-07-01T09:48:49Z")

</div>

Hi Quanta  
I am interested in your problem - which I also have.  
There appear to have been some changes to libraries which break the node-red-contrib-opi-gpio package.

Did you eventually find some solution?

Regards,  
Nick.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [1 July 2020 10:23 UTC](https://discourse.nodered.org/t/trouble-with-node-red-contrib-opi-gpio-install-versions/18245/3 "2020-07-01T10:23:17Z")

</div>

You could try a direct appeal to the author ? - g.prand(at)[gmail.com](http://gmail.com)
