Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"go: cannot find main module" when installing from homebrew #27

Open
jfhbrook-at-work opened this issue Dec 16, 2021 · 0 comments
Open

Comments

@jfhbrook-at-work
Copy link

Howdy! I was trying to install this on my MacOS machine (Monterey) with homebrew and the formula is pretty unhappy:

briefcase on ξ‚  main is πŸ“¦ v1.0.0 via  v16.13.1 via 🐍 v3.8.8 (env) on ☁️  (us-west-2) took 1m15s
❯ brew install asana
Warning: Treating asana as a formula. For the cask, use homebrew/cask/asana
==> Cloning https://github.com/thash/asana.git
Updating /Users/jholbrook/Library/Caches/Homebrew/asana--git
==> Checking out tag v0.2.1
HEAD is now at da081e7 Merge pull request #18 from thash/v0.2.1
HEAD is now at da081e7 Merge pull request #18 from thash/v0.2.1
==> Installing asana from thash/asana
==> go get github.com/urfave/cli
==> go get github.com/thash/asana
==> go build -o asana
Last 15 lines from /Users/jholbrook/Library/Logs/Homebrew/asana/03.go:
2021-12-16 19:34:09 +0000

go
build
-o
asana

go: cannot find main module, but found .git/config in /private/tmp/asana-20211216-93870-10gho4f
	to create a module there, run:
	go mod init

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/thash/homebrew-asana/issues

I don't know what this error means :) not a go person - but hopefully an easy fix? Maybe there's a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant