iizukanao / picam-streamer

Out-of-the-box SD card image for live streaming with Raspberry Pi
MIT License
62 stars 6 forks source link

picam-streamer has stopped working after upgrading to node.js version 12 or 14 #46

Closed rajeshkrarora1 closed 2 years ago

rajeshkrarora1 commented 2 years ago

Hi Sir, I was using node-red with picam-streamer, it was working wonderfully up till now , i had to upgrade node.js as node-red dropped support to node.js version 10 and below, dashboard nodes after upgrading the stream at the time of boot stopped completely, i tried to start it by giving command "sudo /etc/init.d/picam-streamer start", it gives an out put,

Starting picam-streamer creating directory structure... starting node-rtsp-rtmp-server and picam... nohup: redirecting stderr to stdout nohup: failed to run command '/usr/local/bin/node': No such file or directory.

iizukanao commented 2 years ago

What is the output of the command which node?

rajeshkrarora1 commented 2 years ago

Thankyou for responding so promptly

it pi@raspberrypi:~ $ which node /usr/bin/node

rajeshkrarora1 commented 2 years ago

🙏🙏

rajeshkrarora1 commented 2 years ago

how should i solve this problem, where do i need to edit the path

iizukanao commented 2 years ago

You can just run sudo ln -s /usr/bin/node /usr/local/bin/node and the problem will be fixed.

rajeshkrarora1 commented 2 years ago

Thankyou so so very much, for your support 🙏🙏🙏🙏

iizukanao commented 2 years ago

You're welcome 🙂