Closed icelander closed 3 years ago
Steps to reproduce
cd
make dist
Expected Behavior
Example plugin builds successfully
Observed Behavior
Plugin fails to build. Output indicates the version of go-multierror required needs Golang v1.14+:
go-multierror
# github.com/hashicorp/go-multierror ../../../go/pkg/mod/github.com/hashicorp/go-multierror@v1.1.0/multierror.go:112:9: undefined: errors.As ../../../go/pkg/mod/github.com/hashicorp/go-multierror@v1.1.0/multierror.go:117:9: undefined: errors.Is note: module requires Go 1.14 # github.com/hashicorp/go-multierror ../../../go/pkg/mod/github.com/hashicorp/go-multierror@v1.1.0/multierror.go:112:9: undefined: errors.As ../../../go/pkg/mod/github.com/hashicorp/go-multierror@v1.1.0/multierror.go:117:9: undefined: errors.Is note: module requires Go 1.14 make: build/bin/manifest: Command not found build/setup.mk:16: *** "Cannot parse id from plugin.json". Stop.
This will be fixed with https://github.com/mattermost/mattermost-plugin-starter-template/pull/145 as go 1.16. is required then.
Fixed with https://github.com/mattermost/mattermost-plugin-starter-template/pull/145
Steps to reproduce
cd
into itmake dist
Expected Behavior
Example plugin builds successfully
Observed Behavior
Plugin fails to build. Output indicates the version of
go-multierror
required needs Golang v1.14+: