Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 2982|Reply: 0

Problem with orange pi pc and node js

[Copy link]

1

Threads

1

Posts

9

Credits

Novice

Rank: 1

Credits
9
Post time 2016-7-14 18:21:10 | Show all posts |Read mode
hi everyone, i'm currently trying to communicate with arduino through a webserver 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 v 0.8.0 for Orange pi pc.

I installed node by using this code:
wget https://nodejs.org/download/release/v0.10.0/node-v0.10.0-linux-arm-pi.tar.gz
than 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 try to update the npm with the command "npm install npm -g" these errors came in:

Then i tried to install 'johnny-five' by following this guide: https://github.com/rwaldron/johnny-five/wiki/Getting-Started
And this happened:

if i try to run a program this happens:


Please someone helps me!!!!!! i'm so desperate, thank you for the help!!!! i'm new to this kind of things, so i don't know what to do.


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-19 05:03 GMT+8 , Processed in 0.025762 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list