Comments on: Programming the BeagleBone Black with BoneScript https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 01 Aug 2022 09:46:43 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: emmanuel https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-772482 Mon, 01 Aug 2022 09:46:43 +0000 http://randomnerdtutorials.com/?p=5074#comment-772482 Hi Rui,
I cant install download npm or socket.io via cloud9 terminal.. all I’m getting it the below error:

debian@beaglebone:/var/lib/cloud9$ sudo npm install -g socket.io
[sudo] password for debian:
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/socket.io failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-04-06T20_22_00_421Z-debug.log
debian@beaglebone:/var/lib/cloud9$ ^C
debian@beaglebone:/var/lib/cloud9$

]]>
By: Rui Santos https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-278038 Thu, 18 Feb 2016 12:21:59 +0000 http://randomnerdtutorials.com/?p=5074#comment-278038 In reply to Kim.

You’re welcome Kim!
I’m glad it’s working

]]>
By: Kim https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-277869 Mon, 15 Feb 2016 13:40:00 +0000 http://randomnerdtutorials.com/?p=5074#comment-277869 In reply to Rui Santos.

Thanks a lot! I can download them with it.

]]>
By: Rui Santos https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-277864 Mon, 15 Feb 2016 11:32:40 +0000 http://randomnerdtutorials.com/?p=5074#comment-277864 In reply to Kim.

Hi Kim,
I hope you are doing well.
You also have to connect an Ethernet cable to your BBB… Otherwise your BBB can’t download and install the socket.io package.

Regards,
Rui

]]>
By: Kim https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-277849 Mon, 15 Feb 2016 06:00:13 +0000 http://randomnerdtutorials.com/?p=5074#comment-277849 I`m trying to get socket.io via putty and cloud9 but I always get the error like bellow,

root@beaglebone:~# sudo npm install update
npm http GET https://registry.npmjs.org/update
npm http GET https://registry.npmjs.org/update
npm http GET https://registry.npmjs.org/update
npm ERR! network 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-bone47
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install” “update”
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0

My Setting is just connected My BBB by USB only.

]]>
By: Rui Santos https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-277043 Sun, 31 Jan 2016 00:27:35 +0000 http://randomnerdtutorials.com/?p=5074#comment-277043 In reply to Joe.

Which error is printing?

]]>
By: Rui Santos https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-277042 Sun, 31 Jan 2016 00:27:17 +0000 http://randomnerdtutorials.com/?p=5074#comment-277042 In reply to Joe.

The command should work on any terminal.
Which OS do you have installed in your BBB?

]]>
By: Joe https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-276803 Tue, 26 Jan 2016 03:55:38 +0000 http://randomnerdtutorials.com/?p=5074#comment-276803 I am trying to do this tutorial but I can’t seem to get socket.io to work. I am using a beaglebone black and the cloud 9 IDE and I’m on Debian linux. I don’t understand where to run the npm install command or the socket.io install command. Do I run that from the Cloud 9 terminal on the Beaglebone black? I tried this and got some error messages. I am really at a loss and tried doing it locally on my machine and that didn’t work either.

]]>
By: Rui Santos https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-276012 Sat, 09 Jan 2016 13:41:16 +0000 http://randomnerdtutorials.com/?p=5074#comment-276012 In reply to Anurodh.

Hi,
There is a Node.js package called forever that does exactly that.
Please read this blog post to learn how it work: http://www.slidequest.com/q/70ang

I hope this helps,
Rui

]]>
By: Anurodh https://randomnerdtutorials.com/programming-the-beaglebone-black-with-bonescript/#comment-275951 Fri, 08 Jan 2016 06:37:15 +0000 http://randomnerdtutorials.com/?p=5074#comment-275951 Hi,
i want to run my web server without cloud9 when BBB boots when i connect it to my laptop via usb.
Any ideas how can i do this?

Thanks in advance! 🙂

]]>