Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberrypi [2014/01/12 17:58]
jap
raspberrypi [2014/01/12 22:39]
jap
Line 22: Line 22:
 Installation instructions:​ [[http://​blog.rueedlinger.ch/​2013/​03/​raspberry-pi-and-nodejs-basic-setup/​]]. Notice, the instruction is referring to version 0.10.2. Check for the latest one. I did installed 0.10.22. Installation instructions:​ [[http://​blog.rueedlinger.ch/​2013/​03/​raspberry-pi-and-nodejs-basic-setup/​]]. Notice, the instruction is referring to version 0.10.2. Check for the latest one. I did installed 0.10.22.
  
 +Notice also this:
 +//When you want to use ‘npm’ or ‘node’ as root with sudo you have to add the ‘-i’ option, so that the root user’s environment is acquired. For example when you want to install the package ‘forever’ globally with ‘npm’.//​
 +
 +  sudo -i npm install forever -g
 +
 +==== Modbus ====
 +
 +Dependencies
 +
 +  sudo apt-get install build-essential autoreconf
 +  ​
 +Node.js module
 +
 +  npm install modbus
  
 === Database === === Database ===
raspberrypi.txt · Last modified: 2014/01/12 22:39 by jap
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki