Getting Started with Edison: JavaScript Web Server

Episode seven of our video series is here!

Favorited Favorite 0

It's time for a fresh new episode of our Getting Started with Edison video series! In episode seven, we're showing you how to create a web server using JavaScript and Node.js. The Edison hosts a simple web page and flashes an LED whenever a client connects.

If you want to try your hand at creating a web server with your Edison, you can find the parts wishlist here, and the code here. We will also have another new episode of Getting Started with Edison next week! Hint: web apps.

Comments 7 comments

  • BrentBoren / about 7 years ago * / 1

    Misposted, see below...

  • BrentBoren / about 7 years ago / 1

    Hi Shawn,

    Great demonstration of implementing a server using Intel XDK. Makes me really wish I could get it working on a Mac... (I tried installing again after watching your video, but it still has issues on OS X 10.8 and 10.9).

    I've been using the Eclipse SDK for most of my work - as it actually runs as advertised under OS X, but it misses some of the cool features of the Intel XDK. Maybe Intel will get their act together at some point and get things working on OS X, but I'm not holding my breath!

    • That seems really weird. I was able to get it installed and working on OS X (I don't remember the specific version as it wasn't my computer) for the tutorial here. Intel also claims that OS X 10.9 is supported (see their instructions here).

      • BrentBoren / about 7 years ago * / 1

        It may be related to my having Debian installed on both of the Edisons that I attempted to use. The XDK always fails to recognize any Edison I connect when the install program gets to that part of the installation (the please connect your Edison step). Can't seem to get past it. I'm petitioning Intel for a command line version of the installer that may allow me to get past that point, but no luck so far.

        Good to hear that you have made it work for you OS X - that's encouraging. I'll take a look at the tutorial and see if I can find anything I'm doing wrong or can do differently.


        • Aaah! The default Yocto build comes with an XDK daemon that the XDK connects to. I don't believe Ubiliux (or other Debian builds?) have the XDK daemon installed.

          • BrentBoren / about 7 years ago / 1

            Yep, this seems to be the issue. When I went down the Customize Installation path and deselected "Update firmware image" (neither of which I had done before) I was able to get an install on my OS X 10.9 machine. It seems the XDK installer isn't compatible with having Xcode open under Yosemite (10.10), so after quitting Xcode it installed correctly on the 10.10 machine also.

            Thanks Shawn, I appreciate the help!

Related Posts

Outtakes 2020

Recent Posts


All Tags