osc-node icon indicating copy to clipboard operation
osc-node copied to clipboard

how to run app.js

Open stephanschulz opened this issue 3 years ago • 2 comments

Thanks for making your project public.

I followed the install steps on my RPI4. After running sh install.sh the PI rebooted and eventually the desktop shows. I assume to start the player I need to npm start or something?

But I am not able to make it run.

Screen Shot 2021-06-15 at 5 43 00 PM

I did test that npm is installed with npm list and get:

[email protected] /home/pi/osc-node
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

cat /etc/os-release reports:

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

node app.js reports:

pi@raspberrypi:~/osc-node $ node app.js
Error: bind EADDRINUSE 0.0.0.0:57121
    at node:dgram:356:20
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -98,
  code: 'EADDRINUSE',
  syscall: 'bind',
  address: '0.0.0.0',
  port: 57121
}

Thanks for any tips.

stephanschulz avatar Jun 15 '21 21:06 stephanschulz