packr icon indicating copy to clipboard operation
packr copied to clipboard

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

Open beshoo opened this issue 6 years ago • 0 comments

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

beshoo avatar Dec 06 '19 12:12 beshoo