"Error: stderr maxBuffer exceeded"

441 views
Skip to first unread message

ing. Carmine Manfredi

unread,
Jan 22, 2017, 9:33:23 AM1/22/17
to Node-RED
Hi,
I tryed to install:
 

node-red-contrib-opi-gpio :


by "manage palette", but in debug there is an error:


msg : string[56]"Installation of module node-red-contrib-opi-gpio failed:"

22/1/2017, 15:27:33msg : string[42]
"------------------------------------------"
22/1/2017, 15:27:33msg : string[32]
"Error: stderr maxBuffer exceeded"

Why ?
I use:

Node-RED version: v0.16.1
Node.js  version: v6.9.4
Linux 3.4.112-sun8i arm LE


Dave C-J

unread,
Jan 22, 2017, 9:40:25 AM1/22/17
to node...@googlegroups.com
Did you also complete the pre-reqs as per the nodes documentation ?

carmine manfredi

unread,
Jan 22, 2017, 9:51:52 AM1/22/17
to node...@googlegroups.com
No.
So I have made the group gpio from user carmine (not pi), and rebooted.
But the error is the same.

2017-01-22 15:40 GMT+01:00 Dave C-J <dce...@gmail.com>:
Did you also complete the pre-reqs as per the nodes documentation ?

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/zbnczl8_cp8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+unsubscribe@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/CACXWFwJc02nURDeveyjisw3XPwuPEvnaZS%2BJq1zKzMvA%2BaVnxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Nick O'Leary

unread,
Jan 23, 2017, 6:20:50 AM1/23/17
to Node-RED Mailing List
Hi,

there are two separate issues here.

1. you are hitting some error coming from npm when trying to install the node

2. the length of the error message is then causing another issue with the way we invoke npm and capture its output - "Error: stderr maxBuffer exceeded" 


I suggest you try to install the node by manually running the npm command in you .node-red directory. You will then be able to see its full output and help you get to the bottom of the issue.

I will look at the maxBuffer issue to ensure we handle that better.

Nick



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+unsubscribe@googlegroups.com.

To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.

carmine manfredi

unread,
Jan 23, 2017, 7:17:57 AM1/23/17
to node...@googlegroups.com
ok.
There are any warnings

carmine@orangepione:~/.node-red$ sudo npm -g install node-red-contrib-opi-gpio
[sudo] password for carmine:

> ep...@0.1.20 install /usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.9.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll/build'
  CXX(target) Release/obj.target/epoll/src/epoll.o
  SOLINK_MODULE(target) Release/obj.target/epoll.node
  COPY Release/epoll.node
make: Leaving directory '/usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll/build'
/usr/local/lib
└─┬ node-red-con...@0.0.2
  └─┬ on...@1.1.1
    └─┬ ep...@0.1.20
      ├── bind...@1.2.1
      └── n...@2.4.0



Nick O'Leary

unread,
Jan 23, 2017, 7:21:20 AM1/23/17
to node...@googlegroups.com

They are only warnings. The final bit shows the install was successful.

Nick


To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.

--
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.

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/zbnczl8_cp8/unsubscribe.
To unsubscribe from this group and all its topics, 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.
--
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.

carmine manfredi

unread,
Jan 23, 2017, 9:33:14 AM1/23/17
to node...@googlegroups.com
ok.
now work.
Result "Orange_pi" library  (input pin and output pin).
I'll keep you up-to-date.

2017-01-23 13:17 GMT+01:00 carmine manfredi <carmine....@gmail.com>:
ok.
There are any warnings

carmine@orangepione:~/.node-red$ sudo npm -g install node-red-contrib-opi-gpio
[sudo] password for carmine:

> ep...@0.1.20 install /usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.9.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll/build'
  CXX(target) Release/obj.target/epoll/src/epoll.o
  SOLINK_MODULE(target) Release/obj.target/epoll.node
  COPY Release/epoll.node
make: Leaving directory '/usr/local/lib/node_modules/node-red-contrib-opi-gpio/node_modules/epoll/build'
/usr/local/lib
└─┬ node-red-contrib-opi-gpio@0.0.2
  └─┬ on...@1.1.1
    └─┬ ep...@0.1.20
      ├── bind...@1.2.1
      └── n...@2.4.0


Reply all
Reply to author
Forward
0 new messages