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
I just tried updating and installing a tool using cobra and viper and I got the following error on a redhat linux 7 using go 1.15.14 from the golang-bin package from EPEL (golang-bin-1.15.14-1):
../../../../go/pkg/mod/github.com/spf13/afero@v1.9.0/basepath.go:4:2: package io/fs is not in GOROOT (/usr/lib/golang/src/io/fs)
Updating to golang 1.16.13 or 1.17.10 from epel solves the problem for me. I had no problems on Windows with 1.16 to 1.18 (sadly, I had no Windows with 1.15 available)
The text was updated successfully, but these errors were encountered:
OK, I just wanted to make sure, that this was not an accident, as this also impacts cobra and viper. A minimal version of 1.16 is quite reasonable, so I'll close this ticket.
I just tried updating and installing a tool using cobra and viper and I got the following error on a redhat linux 7 using go 1.15.14 from the golang-bin package from EPEL (golang-bin-1.15.14-1):
Updating to golang 1.16.13 or 1.17.10 from epel solves the problem for me. I had no problems on Windows with 1.16 to 1.18 (sadly, I had no Windows with 1.15 available)
The text was updated successfully, but these errors were encountered: