I am running Cloud9 from a BeagleBone Green board and am experiencing problems accessing files on the Internet. How do I check if my Cloud9 environment can reach the Internet and download files? Right now, it looks to be blocked. Here is an example command that has failed:
root@beaglebone:/var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts# npm install npm@latest -g
npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’
npm ERR! System Linux 3.8.13-bone71.1
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install” “npm@latest” "-g"
npm ERR! cwd /var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ECONNRESET
npm ERR! Additional logging details can be found in:
npm ERR! /var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts/npm-debug.log
npm ERR! not ok code 0