Installation for Groov Nodes Fails - SOLVED

I’m trying to add the Groov nodes to my Node-RED installation and it fails. I have the most current version of everything installed.

Here is what the log says (see below). I hope it means something to someone. It surely doesn’t to me. Thanks.

Edit: So I looked at the troubleshooting guide and it said to make sure the Groov could access the Internet. I knew it could because that’s how I accessed it, but only by an IP address. Turns out I didn’t have the DNS settings configured so it couldn’t resolve any host names.

Error: Command failed: npm install --save --save-prefix="~" --production node-red-contrib-groov@1.0.2
npm ERR! Linux 3.0.35-groov3.5
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “–save” “–save-prefix=”~"" “–production” "node-red-contrib-groov@1.0.2"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! syscall getaddrinfo

npm ERR! getaddrinfo EAI_AGAIN
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!

npm ERR! Please include the following file with any support request:
npm ERR! /home/dev/.node-red/npm-debug.log

1 Like

Nicely self-solved.
We have seen this one a few times, the key in the error log is the ‘syscall getaddrinfo’, it throws an error trying to resolve the the address of the npm install.
Just as you found, its a DNS issue.

Thanks for updating your post.