nkashyap / console.io

JavaScript Remote Web Console
http://nkashyap.github.io/console.io
189 stars 20 forks source link

Installation Error & Problem Connecting Clients #42

Open MaxMediaPictures opened 7 years ago

MaxMediaPictures commented 7 years ago

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! xconsole.io@0.2.7 express: `cd ./node_modules/express.io/node_modules/express && npm i`
npm ERR! Exit status 1

In addition I get this error:

npm ERR! xconsole.io@0.2.7 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!

kristianmandrup commented 4 years ago

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