Cannot install node-red-node-arduino on mac osx

26 views
Skip to first unread message

Paolo Nicotra

unread,
May 1, 2018, 11:06:05 AM5/1/18
to Node-RED
Hello, I'm trying to install the node-red-node-arduino but after digiting "npm install node-red-node-arduino" in the correct directory, I find two errors, even if the installation seems to proceed:

node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-darwin-x64.tar.gz 

node-pre-gyp ERR! Pre-built binaries not found for seria...@4.0.7 and no...@8.11.1 (node-v57 ABI) (falling back to source compile with node-gyp)

Anyway, after restarting node red there's no trace of the arduino nodes. I'm working on a mac osx yosemite (v. 10.10.5), node.js version 8.11.1 and npm version 2.15.12. After the installation of the arduino pkg, when I start node-red there's this string: [node-red-node-arduino/arduino] Error: Cannot find module 'serialport' (line:6)  





Please help me!


cheers, Paolo Nicotra

Dave C-J

unread,
May 1, 2018, 11:25:54 AM5/1/18
to node...@googlegroups.com
which directory did you install into ? - what command did you use ? and what does the install actually report at the end...
  mine says

/Users/conway/.node-gyp/8.11.1/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'

  declarator __attribute__((deprecated))

                            ^

1 warning generated.

  SOLINK_MODULE(target) Release/serialport.node

node-pre-gyp info ok 

+ node-red-n...@0.0.15

added 146 packages in 18.194s


Paolo Nicotra

unread,
May 1, 2018, 11:34:46 AM5/1/18
to node...@googlegroups.com
The directory is cd ~/.node-red   and at the end this is the report:

2 warnings generated.
  SOLINK_MODULE(target) Release/serialport.node
node-red-n...@0.0.15 node_modules/node-red-node-arduino
└── fir...@0.17.0 (browser-s...@2.1.0, es6-...@0.35.3, seria...@4.0.7)


--
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.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CACXWFwLMyC1vS4jPHRezh42WHON2aBxGmgNKYg%3DGpMFQhVkzPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Paolo Nicotra

unread,
May 1, 2018, 11:36:20 AM5/1/18
to node...@googlegroups.com
The command is: sudo npm install node-red-node-arduino

Il giorno 01/mag/2018, alle ore 17:25, Dave C-J <dce...@gmail.com> ha scritto:

Dave C-J

unread,
May 1, 2018, 11:37:59 AM5/1/18
to node...@googlegroups.com
shouldn't need sudo... 
and there should be a couple more lines at the end of the install - saying ok or err...

Dave C-J

unread,
May 1, 2018, 11:39:03 AM5/1/18
to node...@googlegroups.com
​and the install command is as per readme.. https://www.npmjs.com/package/node-red-node-arduino

Paolo Nicotra

unread,
May 1, 2018, 11:47:42 AM5/1/18
to node...@googlegroups.com
I used “sudo” because if I don’t do it, the installation reports more errors saying “try as root user”.. so with sudo I solved it. But it’s not enough. Still have the problem.

Il giorno 01/mag/2018, alle ore 17:38, Dave C-J <dce...@gmail.com> ha scritto:

​and the install command is as per readme.. https://www.npmjs.com/package/node-red-node-arduino

--
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.
Reply all
Reply to author
Forward
0 new messages