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 https://www.youtube.com/watch?v=A_sUTfeGKxw
It requires this https://github.com/heroku/force
Unfortunately all binary downloads are broken:
Then I tried to compile it from source, proceeding these steps:
- installed go from here https://golang.org/doc/install
- configured the GOPATH to a directory on drive D:
- and tried
go get -u github.com/heroku/force
This also did not work and resulted into the following error:
D:\elastify.net\apps\force>go get -u github.com/heroku/force go: missing Mercurial command. See http://golang.org/s/gogetcmd package github.com/heroku/force imports bitbucket.org/pkg/inflect: exec: "hg": executable file not found in %PATH% go: missing Mercurial command. See http://golang.org/s/gogetcmd package github.com/heroku/force imports github.com/ViViDboarder/gotifier imports github.com/ddollar/config imports github.com/ddollar/dist imports bitbucket.org/kardianos/osext: 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.
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”…
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 🙂