Arduino Firmata Install - Error any help appreciated

231 views
Skip to first unread message

Kaniick

unread,
May 16, 2016, 11:17:41 PM5/16/16
to Node-RED
I want to apologize if this has been address as I have search the group discussions and only items I have found are similar to my problem, but have not yield the error that I am receiving.

I am running a Rpi B+ Raspbian Jessie, Node V0.10.29 and Npm 2.15.6, when attempting to install firmata using cd /node-red and executing the line npm install arduino-firmata, I am given the following error(s)

> serialport@3.1.2 install /home/pi/node-red/node_modules/arduino-firmata/node_modules/serialport
> node-pre-gyp install --fallback-to-build

node
-pre-gyp ERR! Tried to download: https://github.com/voodootikigod/node-serialport/releases/download/3.1.2/serialport-v3.1.2-node-v11-linux-arm.tar.gz
node
-pre-gyp ERR! Pre-built binaries not found for serialport@3.1.2 and node@0.10.29 (node-v11 ABI) (falling back to source compile with node-gyp)
make
: Entering directory '/home/pi/node-red/node_modules/arduino-firmata/node_modules/serialport/build'
  CXX
(target) Release/obj.target/serialport/src/serialport.o
  CXX
(target) Release/obj.target/serialport/src/serialport_unix.o
  CXX
(target) Release/obj.target/serialport/src/serialport_poller.o
  SOLINK_MODULE
(target) Release/obj.target/serialport.node
  COPY
Release/serialport.node
make
: Leaving directory '/home/pi/node-red/node_modules/arduino-firmata/node_modules/serialport/build'
npm WARN unmet dependency
/home/pi/node-red/node_modules/cheerio/node_modules/htmlparser2 requires entities@'1.0' but will load
npm WARN unmet dependency
/home/pi/node-red/node_modules/cheerio/node_modules/entities,
npm WARN unmet dependency which
is version 1.1.1
npm WARN unmet dependency
/home/pi/node-red/node_modules/mqtt/node_modules/websocket-stream requires ws@'^1.0.1' but will load
npm WARN unmet dependency
/home/pi/node-red/node_modules/ws,
npm WARN unmet dependency which
is version 0.8.1
npm WARN unmet dependency
/home/pi/node-red/node_modules/node-red-node-twitter/node_modules/request/node_modules/http-signature/node_modules/sshpk requires assert-plus@'^1.0.0' but will load
npm WARN unmet dependency
/home/pi/node-red/node_modules/node-red-node-twitter/node_modules/request/node_modules/http-signature/node_modules/assert-plus,
npm WARN unmet dependency which
is version 0.2.0
npm WARN unmet dependency
/home/pi/node-red/node_modules/grunt/node_modules/js-yaml/node_modules/argparse requires underscore.string@'~2.4.0' but will load
npm WARN unmet dependency
/home/pi/node-red/node_modules/grunt/node_modules/underscore.string,
npm WARN unmet dependency which
is version 2.2.1
arduino
-firmata@0.3.4 node_modules/arduino-firmata
├── eventemitter2@1.0.3
├── debug@2.2.0 (ms@0.7.1)
└── serialport@3.1.2 (bindings@1.2.1, es6-promise@3.2.1, nan@2.3.3, commander@2.9.0, object.assign@4.0.3)

It seems as if the github that the install is attempting to execute is no longer available (https://github.com/voodootikigod/node-serialport/releases/download/3.1.2/serialport-v3.1.2-node-v11-linux-arm.tar.gz). Any help on how I can get arduino firmata installed so that I may use Node-Red to communicate with my Arduino Mega would be helpful and much appreciated.

Thank you
   Kaniick

Mark Setrem

unread,
May 17, 2016, 1:37:19 AM5/17/16
to Node-RED
You appear to be installing it in the wrong directory as you should be in the directory /home/pi/.node-red  (the dot is important)

Other than that they lines you posted are what they say "warnings" the fact the lines end with
arduino-firmata@0.3.4 node_modules/arduino-firmata
├── eventemitter2@1.0.3
├── debug@2.2.0 (ms@0.7.1)
└── serialport@3.1.2 (bindings@1.2.1, es6-promise@3.2.1, nan@2.3.3, commander@2.9.0, object.assign@4.0.3)
shows what it installed and it should work.  

You now just need to install in in the right place ;-)

Kaniick

unread,
May 17, 2016, 4:20:29 AM5/17/16
to Node-RED
:: SOLVED ::

the directory is cd /.node-red I forgot to put the . in the initial post, but I assure you I made sure to enter it in the terminal

I went ahead a executed the code again, perhaps I overlooked the "." while attempting before, but the arduino modules are there now, I appreciate the help @Mark Setrem Thank you for the help.

Colin Law

unread,
May 17, 2016, 10:42:16 AM5/17/16
to node...@googlegroups.com
On 17 May 2016 at 09:20, Kaniick <kanii...@gmail.com> wrote:
> :: SOLVED ::
>
> the directory is cd /.node-red I forgot to put the . in the initial post,
> but I assure you I made sure to enter it in the terminal

That is a very unusual directory. Usually it would be
/home/<username>/.node-red

Colin


>
> I went ahead a executed the code again, perhaps I overlooked the "." while
> attempting before, but the arduino modules are there now, I appreciate the
> help @Mark Setrem Thank you for the help.
>
>
> On Monday, May 16, 2016 at 10:37:19 PM UTC-7, Mark Setrem wrote:
>>
>> You appear to be installing it in the wrong directory as you should be in
>> the directory /home/pi/.node-red (the dot is important)
>>
>>
>> Other than that they lines you posted are what they say "warnings" the
>> fact the lines end with
>> arduino...@0.3.4 node_modules/arduino-firmata
>> ├── evente...@1.0.3
>> ├── de...@2.2.0 (m...@0.7.1)
>> └── seria...@3.1.2 (bind...@1.2.1, es6-p...@3.2.1, n...@2.3.3,
>> comm...@2.9.0, object...@4.0.3)
>> shows what it installed and it should work.
>>
>> You now just need to install in in the right place ;-)
>
> --
> http://nodered.org
>
> Join us on Slack to continue the conversation: http://nodered.org/slack
> ---
> You received this message because you are subscribed to the Google Groups
> "Node-RED" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to node-red+u...@googlegroups.com.
> To post to this group, send email to node...@googlegroups.com.
> Visit this group at https://groups.google.com/group/node-red.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages