I'm currently trying to communicate with Arduino through a web server created with Node.js installed on my Orange PI PC. In order to do this, I tried to use the module called johnny five
, but the only output I receive is a bunch of errors.
I'm using Raspbian v0.8.0
for Orange PI PC.
I installed node v0.10.0 by using wget plus the link. Then, I unpacked the file by using:
cd /usr/local
sudo tar xzvf ~/node-v0.10.0-linux-arm-pi.tar.gz --strip=1
The version of node is 0.10.0
and the NPM's version is 1.2.14
. When I tried to update the npm
with the command npm install npm -g
these errors came in
Then, I tried to install johnny-five
by following the guide that I've found on the johnny-five
website which is linked to Github
And this happened
If I try to run a program, many error appear saying at the top of them 'cannot find module johnny five'.
This version of node is the only one that works for me after checking many other of them.