In the event of a module version mismatch, please try using this command to solve the issue. Check www.electron.atom.io for the latest version and change --target=VERSION_HERE to the correct version
$ sudo npm rebuild --runtime=electron --target=1.3.3 --disturl=https://atom.io/download/atom-shell --build-from-source