asticode / go-astilectron-bundler

Bundle your Astilectron app with ease
MIT License
129 stars 68 forks source link

Bundler not working - Missing astilectron module #34

Closed komyg closed 5 years ago

komyg commented 5 years ago

Hi, @asticode. I am sorry to bother you again, but my astilectron-bundler stopped working now. I am not able to get either the demo or my code working.

I can build the demo just fine, but when I execute it, I get an error saying that the astilectron module could not be loaded from: c:\Felipe\AppData\Roaming\Astilectron demo\vendor\astilectron. And when I went into this folder it was empty.

One folder above I can see the file: astilectron-v0.29.0.zip, however inside it there is the astilectron-0.22.0 folder. If I unzip the contents of this folder into the astilectron folder I mentioned above, then everything works.

I am not sure what is happening. I tried to re-get all packages using: go get -u and I used go clean and go install with the bundler, but there seems to be something strange here. Could you help me?

Thanks, Felipe

komyg commented 5 years ago

Sorry, please disregard (or delete) this issue. I found out what the problem was: for some reason I had two GOPATHs configured on my computer: one was the one I created when I installed Go and the other was inside my user profile: [User]\Go.

I believe that the second variable was created by the Go installer on its own when it upgraded to the version 1.11.

Anyway I removed the duplicated variable and the folder it pointed to and everything works.