asticode / go-astilectron-demo

Discover the power of Astilectron through a demo app
MIT License
404 stars 83 forks source link

bundler step failing on osx 10.13.4 #29

Closed zanuka closed 6 years ago

zanuka commented 6 years ago

I followed the demo instructions and all went well until the bundler step.

after running astilectron-bundler -v

I received the following error: FATA[0033] bundling failed: bundling for environment darwin/amd64 failed: building failed: # github.com/asticode/go-astilectron-demo ./bind_darwin_amd64.go:537:34: Asset redeclared in this block previous declaration at ./bind.go:3:34 ./bind_darwin_amd64.go:728:38: RestoreAssets redeclared in this block previous declaration at ./bind.go:7:38 : exit status 2

also results in an empty darwin-amd64 insided outputs

asticode commented 6 years ago

@zanuka did you run the second command of the first step?

rm $GOPATH/src/github.com/asticode/go-astilectron-demo/bind.go

Does this fix your issue?

asticode commented 6 years ago

@zanuka I'm closing this issue but feel free to reopen it if you're still experiencing issues

zanuka commented 6 years ago

@asticode yep that was it, I missed that rm step... just got it to install and it generated perfectly. was able to open up the demo app inside /output/darwin-amd64 🏁

nice work, really like this project