sammachin / node-red-contrib-ngrok

ngrok node for node-red
MIT License
7 stars 10 forks source link

cannot open shared object file #37

Closed grawsom closed 9 months ago

grawsom commented 9 months ago

Trying to get this up and running, but struggle with errors.

Raspberry PI 3 - V9 (stretch) NR 2.2.2 Updated node to 16.20.2

I have this update to do on multible devices, but all i have tried so far fails.

Tried normal update - failed Uninstalled old ngrok - installed new via palete - failed

It gives this error in cmd window

27 Feb 14:27:35 - [warn] [node-red-contrib-ngrok/ngrok] Error: /home/pi/.node-red/node_modules/@ngrok/ngrok-linux-arm-gnueabihf/ngrok.linux-arm-gnueabihf.node: cannot open shared object file: No such file or directory

image

image

image

This error when stoping NR - but not if uninstalled ngrok image

grawsom commented 9 months ago

I'm testning now on different devices....

I't seems like RPI needs Python 3.7.3 or higher.

I'l be back :-)

grawsom commented 9 months ago

Here is the flow that for now worked for me. This is done on a Raspberry Pi3+ running debian 9 (stretch)

Changed stretch to buster in... (for installing python3 easy)

sudo nano /etc/apt/sources.list
sudo nano /etc/apt/sources.list.d/raspi.list
sudo apt update
sudo apt install python3

Update node to 16.20.2

sudo npm install -g n
sudo n 16.20.2

Then I could do update i Node-RED palete to 3.1.0

Hope this helps out there.

grawsom commented 9 months ago

Closed by me