profile
viewpoint

Ask questionsError installing vugugen

Describe the bug Running vgrun -install-tools reports "Error installing vugugen: ... working directory is not part of a module".

Software Versions Vugu version: ? Go version: 1.14 darwin/amd64 Browser and version: n/a

To Reproduce

go get -u github.com/vugu/vgrun
vgrun -install-tools

Expected behavior I expected the command to run successfully.

Additional Notes Instead it gave this output:

2020/06/10 16:34:20 Installing vugugen
2020/06/10 16:34:21 Error installing vugugen: exit status 1; full output:
can't load package: cannot find module providing package github.com/vugu/vugu/cmd/vugugen: working directory is not part of a module

I was able to work around it by doing this:

cd /tmp
mkdir foo
cd foo
go mod init github.com/ijt/foo
vgrun -install-tools

That ran successfully.

vugu/vugu

Answer questions ijt

Hi Brad, that did the trick. I changed the value on my system. I'm thinking maybe it wasn't the best choice.

On Sat, Jun 20, 2020 at 10:33 PM Brad Peabody notifications@github.com wrote:

Thanks, I see the issue. GO111MODULE is set to "on". I'm able to reproduce by toggling GO111MODULE from being unset vs "on" and it causes the error to not happen/happen.

Can you please re-test with GO111MODULE unset? For example:

GO111MODULE="" vgrun -install-tools

Did you change the value of GO111MODULE on your system or is this default? (It looks like you're using Homebrew's Go, perhaps it has different defaults?)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vugu/vugu/issues/140#issuecomment-647081583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADZKT4NKP5WO7SHCAKNWTRXWLSDANCNFSM4N24OUFA .

useful!

Related questions

No questions were found.
Github User Rank List