You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the go 1.18 version, the package installation is no longer working because packages cannot be installed globally using go get leading to this error message:
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
π₯ Cookbook version
version is 5.3.2 but this will fail in any version
I'm not sure about the upgrade part, it looks like package installed by go install are frost and only changing the version and requiring a new go install is the way to do, unless using gup to manage those. Also it looks like version are mandatory now, How do you want to handle those cases ?
π£οΈ Foreword
π» Brief Description
When using the go 1.18 version, the package installation is no longer working because packages cannot be installed globally using go get leading to this error message:
π₯ Cookbook version
version is
5.3.2
but this will fail in any versionπ©βπ³ Chef-Infra Version
chef version is 17.9.46 but this is not related.
π© Platform details
Operating system distribution and release version. Cloud provider if running in the cloud.
Steps To Reproduce
Steps to reproduce the behavior:
with a recipe using this cookbook:
π Expected behavior
I expect the package that I specified in node attributes being installed globally without failure
β Additional context
I'm trying to make a pr to fix this issue, however I'm kind of a noob in ruby/chef so I might have questions :)
The text was updated successfully, but these errors were encountered: