Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

GO111MODULE=on packr2 => Error: go.mod is malformed #256

Open
beshoo opened this issue Dec 6, 2019 · 0 comments
Open

GO111MODULE=on packr2 => Error: go.mod is malformed #256

beshoo opened this issue Dec 6, 2019 · 0 comments

Comments

@beshoo
Copy link

beshoo commented Dec 6, 2019

Dear all , i am installing this lib

https://github.com/ski7777/gomultiwa

and it depends on "packr2"
PS: go version go1.13.4 linux/amd64


$> AwesomeBuild
prepare-output
install-packr
build
>>> cd cmd/gomultiwa; GO111MODULE=on packr2

Error: go.mod is malformed
Usage:
  packr2 [flags]
  packr2 [command]

Available Commands:
  build       Wraps the go build command with packr
  clean       removes any *-packr.go files
  fix         will attempt to fix a application's API to match packr version v2.7.1
  help        Help about any command
  install     Don't. ru
  version     shows packr version

Flags:
  -h, --help               help for packr2
      --ignore-imports     when set to true packr won't resolve imports for boxes
      --legacy             uses the legacy resolution and packing system (assumes first arg || pwd for input path)
      --silent             silences all output
      --store-cmd string   sub command to use for packing
  -v, --verbose            enables verbose logging

Use "packr2 [command] --help" for more information about a command.

So what is the problem with " GO111MODULE=on packr2"
and what is the "go.mod is malformed" i can not find this file! but the report is not about missing file but malformed

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

No branches or pull requests

1 participant