Node-red-contrib-opi-gpio

I am having trouble getting node-red-contrib-opi-gpio to install properly in my home assistant / hassio system. It was showing up and working if memory serves in months past, but I had not been able to make real use of it yet. I believe intervening updates and tampering have broken something. I have tried using command line npm and pallet manager to install. At best the install fails and I get a fault icon when I find the node(s) in installed nodes.

Generally the system is stable and does more or less what I know how to ask it to do. NodeRed works as well to a similar extent - save this issue.

Mk1 user is part of gpio as is root and pi but I am doing all via user mk1.

This is what happens when the NR addon starts - note “BAIL ON”.

29 Aug 02:45:37 - [info] Dashboard version 2.30.0 started at /endpoint/ui
BAIL ON node-red-node-pi-gpio/rpi-gpio
29 Aug 02:45:40 - [warn] ------------------------------------------------------
29 Aug 02:45:40 - [warn] [node-red-contrib-opi-gpio/Orange Pi] Error: The module '/config/node-red/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
29 Aug 02:45:40 - [warn] [node-red-contrib-opi-gpio/In] Error: Module did not self-register: '/config/node-red/node_modules/epoll/build/Release/epoll.node'.
29 Aug 02:45:40 - [warn] ------------------------------------------------------
29 Aug 02:45:40 - [info] Settings file  : /etc/node-red/config.js
29 Aug 02:45:40 - [info] Context store  : 'default' [module=memory]
29 Aug 02:45:40 - [info] User directory : /config/node-red/
29 Aug 02:45:40 - [warn] Projects disabled : editorTheme.projects.enabled=false
29 Aug 02:45:40 - [info] Flows file     : /config/node-red/flows.json
29 Aug 02:45:40 - [info] Server now running at http://127.0.0.1:46836/
29 Aug 02:45:41 - [info] Starting flows
[02:45:41] INFO: Starting NGinx...

and

> [02:21:08] INFO: Starting Node-RED...
> > start
> > node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
> 29 Aug 02:21:18 - [info] 
> Welcome to Node-RED
> ===================
> 29 Aug 02:21:18 - [info] Node-RED version: v2.0.5
> 29 Aug 02:21:18 - [info] Node.js  version: v14.17.4
> 29 Aug 02:21:18 - [info] Linux 4.19.63-sunxi64 arm64 LE
> 29 Aug 02:21:21 - [info] Loading palette nodes
> 29 Aug 02:21:41 - [info] Dashboard version 2.30.0 started at /endpoint/ui
> BAIL ON node-red-node-pi-gpio/rpi-gpio
> 29 Aug 02:21:44 - [warn] ------------------------------------------------------
> 29 Aug 02:21:44 - [warn] [node-red-contrib-opi-gpio/Orange Pi] Error: The module '/config/node-red/node_modules/epoll/build/Release/epoll.node'
> was compiled against a different Node.js version using
> NODE_MODULE_VERSION 64. This version of Node.js requires
> NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
> the module (for instance, using `npm rebuild` or `npm install`).
> 29 Aug 02:21:44 - [warn] [node-red-contrib-opi-gpio/In] Error: Module did not self-register: '/config/node-red/node_modules/epoll/build/Release/epoll.node'.
> 29 Aug 02:21:44 - [warn] ------------------------------------------------------
> 29 Aug 02:21:45 - [info] Settings file  : /etc/node-red/config.js
> 29 Aug 02:21:45 - [info] Context store  : 'default' [module=memory]
> 29 Aug 02:21:45 - [info] User directory : /config/node-red/
> 29 Aug 02:21:45 - [warn] Projects disabled : editorTheme.projects.enabled=false
> 29 Aug 02:21:45 - [info] Flows file     : /config/node-red/flows.json
> 29 Aug 02:21:45 - [info] Server now running at http://127.0.0.1:46836/
> [02:21:45] INFO: Starting NGinx...
> 29 Aug 02:21:45 - [info] Starting flows
> 29 Aug 02:21:45 - [error] [websocket-listener:c8f48bc9.c85ca8] Cannot have two WebSocket listeners on the same path: /ws/audio
> 29 Aug 02:21:45 - [error] [users_config:9b23702.cb7379] Node users list is not set
> 29 Aug 02:21:46 - [info] Started flows
> 29 Aug 02:21:47 - [info] [mqtt-broker:47eeba5c.710984] Connected to broker: mqtt://192.168.1.147:1883
> 29 Aug 02:21:47 - [info] [mqtt-broker:localhost] Connected to broker: mqtt://localhost:1883
> 29 Aug 02:21:50 - [info] [server:Home Assistant] Connecting to http://supervisor/core
> 29 Aug 02:21:50 - [info] [server:Home Assistant] Connecting to undefined
> 29 Aug 02:21:50 - [info] [server:Home Assistant] Connected to undefined
> 29 Aug 02:21:51 - [info] [server:Home Assistant] Connected to http://supervisor/core

And in pallet manager I see node-red-contrib-opi-gpio with version 0.0.7 and an Icon indicating a problem.

System Health report:

System Health

version: core-2021.8.8
installation_type: Home Assistant Supervised
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.6
os_name: Linux
os_version: 4.19.63-sunxi64
arch: aarch64
timezone: America/New_York


GitHub API: ok
Github API Calls Remaining: 4993
Installed Version: 1.11.3
Stage: startup
Available Repositories: 824
Installed Repositories: 5


logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok


host_os: Debian GNU/Linux 10 (buster)
update_channel: stable
supervisor_version: supervisor-2021.06.8
docker_version: 19.03.13
disk_total: 58.4 GB
disk_used: 21.2 GB
healthy: true
supported: true
supervisor_api: ok
version_api: ok
installed_addons: File editor (5.3.3), Samba share (9.5.1), Portainer (1.5.2), Mosquitto broker (6.0.1), SSH & Web Terminal (9.0.1), Grafana (7.1.0), Glances (0.12.3), Check Home Assistant configuration (3.8.0), InfluxDB (4.2.1), ESPHome (2021.8.2), Node-RED (10.0.0), Pi-hole (4.0.0), motionEye (0.15.1), Insteon MQTT (1.0.1), VLC (0.1.2), Notifier (1.0.1), MaryTTS (1.3.0), PicoTTS (1.4.0)


dashboards: 1
resources: 3
views: 4
mode: storage

Thanks to all and I hope I have given useful enough to help someone out there help me.

Q