I have a beta version that may help...
can someone try
cd ~/.node-red npm i node-red-node-pi-gpio@2.0.0-beta4