Installing Dave Carolls Sublime Lightning

All we need is an easy explanation of the problem, so here it is.

I’m starting with Aura/Lightning today and want to install this plugin for sublime on Windows 64bit

So I followed the instructions in this video here

It requires this

Unfortunately all binary downloads are broken:

Then I tried to compile it from source, proceeding these steps:

This also did not work and resulted into the following error:

D:\\apps\force>go get -u
go: missing Mercurial command. See package
    imports exec: "hg": executable file not found in %PATH%
go: missing Mercurial command. See package
    imports exec: "hg": executable file not found in %PATH%

Any go-experts here? Sure I’m making stupid mistakes… but today it’s the first time I heard about go… 🙂

Or any ideas where to find those binaries? (I would prefer the binaries to keep this part simple and focus on Aura as soon as possible)

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

I’ve pinged DaveC about this to see if we can get it corrected. I hit similar stumbling blocks when I first built from source but I did eventually get past them. The hg issue is either a path problem (I seem to recall having to add it to my path manually) or perhaps you have not installed this dependency? Waiting for the binaries to come back online is not a bad idea – getting my Go environment setup, learning the basics of how to compile/run/debug etc was “entertaining”…

Method 2

The missing “hg” command is from Mercurial. Download and install that first, and the steps you suggested should work.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply