some users have reported trouble with npm not installing electron (once on a Mac, once on Windows 8). if this fails, try 'npm config set production=false' and rerun. If that doesn't work, or even if it does, please shoot me an email as I'd like to better understand what's afoot here.

also, if on windows 'npm run postinstall' fails, you may want to try 'npm install --global --production windows-build-tools'. This will make sure python 2.7 and microsoft build tools are present and on your path. See https://www.npmjs.com/package/windows-build-tools for more details.