What worked for me getting LaserWeb 3 up on Raspbian on a Pi3:
- apt-get install make g++ libssl-dev git
- cd /tmp
wget https://nodejs.org/dist/v4.4.5/node-v4.4.5.tar.gz
tar -xvf node-v4.4.5.tar.gz
cd node-v4.4.5 - ./configure && make -j4 (4=number of cores)
- sudo make install
Then the normal git checkout laserweb3, npm install, and node server-smoothie.
I may have already run: sudo apt-get install build-essential python g++ make from the original LaserWeb on this machine. So still gotta test that.