vugu / vugu

Vugu: A modern UI library for Go+WebAssembly (experimental)
https://www.vugu.org
MIT License
4.8k stars 175 forks source link

Getting started problem... #210

Closed pienaahj closed 7 months ago

pienaahj commented 2 years ago

Question When trying to start out with "go get -u github.com/vugu/vgrun " in the start guide, go get -u github.com/vugu/vgrun fails with: Response : go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

Suggested Changes I don't know enough about Go to figure a way around this. If possible, please amend the startup guide to use go install or please provide help on workaround.

Additional context go version 1.17

Much appreciated.

bprfh commented 2 years ago

Golang can do two things when getting packages:

  1. Get the package source code
  2. Build and Install the binaries in the GOPATH/bin directory so you can use them.

In version 1.17 golang changed these two things to seperate commands:

  1. "go get" will get the source code
  2. "go install" will compile the source code and place the binaries in the GOPATH/bin directory

That being said, the message you getting is just a message that this is deprecated and will be removed, I just tried it with go1.17 and it still works, but if not you can just use "go install" instead.

bprfh commented 2 years ago

Made a pr for the website to change the directions: https://github.com/vugu/vugu-site/pull/8

nexlight101 commented 2 years ago

Thank you for the feedback sir, much appreciate.

nexlight101 commented 2 years ago

Hi just some feedback. Please excuse my lack of experience or knowledge.. This is the output from start to working

vugu_install.txt

if I stuffed up some steps, please forgive...

delgoden commented 2 years ago

not working vgrun -install-tools go 1.17.3    ~/go/bin  vgrun -install-tools  ✔ zsh: command not found: vgrun

delgoden commented 2 years ago

I'm solved this problem

owenwaller commented 7 months ago

For the vugu v1.0 release, I don't think we'll support anything other than the last two Go versions - currently v1.20 and v1.21. Both of which support Go modules.

Go modules are now also well established in an use by the Go Community, so supporting any pre-module approach isn't practical.

pienaahj commented 7 months ago

Thanks for feedback Owen. Much appreciated. HendrikSent from my iPhoneOn 02 Nov 2023, at 14:03, Owen Waller @.***> wrote: Closed #210 as completed.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>