console.io icon indicating copy to clipboard operation
console.io copied to clipboard

Installation Error & Problem Connecting Clients

Open MaxMediaPictures opened this issue 7 years ago • 1 comments

Hi!

Unfortunately I have experienced some problems running console.io.

The user itamayo already created an issue with basically the same problems I experienced, however, he closed it before a solution was found.

Installation When I try to install console.io as described in the readme the installation fails due to this error:

npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/#####/.nvm/versions/node/v6.9.1/bin/node" "/Users/#####/.nvm/versions/node/v6.9.1/bin/npm" "run" "express"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] express: `cd ./node_modules/express.io/node_modules/express && npm i`
npm ERR! Exit status 1

In addition I get this error:

npm ERR! [email protected] postinstall: `npm run express.io && npm run express`
npm ERR! Exit status 1

Running it I was able to get a working installation by downloading the repo and building it.

When I then try to connect devices (like a chrome browser) the device can't get past the "registration" step and it stays "offline". Other devices and browsers show the same behaviour. Like itamayo said here you can get past this by manually create a serialNumber cookie. For example: document.cookie = "serialNumber=123456789";

Thank you so much for developing this project! It would be great if you could look into these issues. Thanks!

MaxMediaPictures avatar Apr 04 '17 14:04 MaxMediaPictures

Looks like this library is ancient and a lot of dependencies are deprecated and might be broken at this point?

kristianmandrup avatar Nov 27 '19 11:11 kristianmandrup