Reply To: Headless breakout server

About Forums Forum Headless breakout server Reply To: Headless breakout server


You shouldn’t have to download and node-serialport. You need to install node and npm (node package manager). NPM will handle the downloads and installation of node modules automatically. See these instructions for Debian

Then, after you have installed npm (make sure your paths are set if the installer did not set them for you), navigate to Breakout/node_server/ and type: “npm install serialport”. Then after that finishes, type: “npm install”.Google ‘installing node.js and npm linux’ if this is not working.

Also if you get all that installed you’ll have to update the serial port of your IOBoard on line 30 server.js file. Also note line 12 of server.js. Set this to true if you want to connect to the server from multiple clients. At some point I hope to find someone more familiar with node.js to help make this a bit easier to use.