Currently, on 09/01/2017, the latest Raspbian Stretch release does not work with the Node.js packages. Stretch appears to have a later version of OpenSSL with breaks the gateway. I imagine that dependency will be corrected in the future. For that reason I am specifically using Raspbian Jessie
-
Flash the last version of Raspbian Jessie (http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/2017-07-05-raspbian-jessie.zip) to your SD card using http://etcher.io
-
Boot the Pi using the flashed SD card and login as pi/raspberry
-
Connect the pi to your wifi network if it isn't hardwired