Closed korakinos closed 1 year ago
You need an older version of node. As i remember i tested it with Version 12.
If you need a newer version of node for another parallel application you can work it around (not suggested) by accessing node directly
/opt/nodejs12/bin/node
In general node 12 is supported only for a few further months. And there is sadly not much progress in the project.
Thanks, that must be it! I totally missed the bit about the node version in the guide.
I did not try again with version 12, because I have meanwhile lost my second device, so I have no need for browser synchronisation anymore. I'm closing this issue anyway.
After installing the xBrowserSync API according to the guide (using the latest release 1.1.13; the guide refers to 1.1.18 in some places, which I reckon is a typo for 1.1.8), running the created service via
supervisorctl
fails with no clear error. Running the commandnode /home/xbs/xbrowsersync/api/dist/api.js
from the service file manually gives the following error output:This appears to be the exact same bug as https://github.com/xbrowsersync/api/issues/81. Like reported there, running
npm install bunyan
does not help.