Downloading node issues

EAI_AGAIN is a dns lookup error I believe, is the device able to lookup that address? Try
ping registry.npmjs.org
from the device and see if that works.