Viper install is failing with "cannot find package" error #1080
-
cannot find package "github.com/hashicorp/hcl/tree/hcl1" in any of: MacOS 11.2.1 Looks like HCL printer may be a v1 item, which is failing to fetch with the latest Viper. Unsure if there's a PR for HCL v2 in the works, or if HCL can be left out of use (currently using yaml). If there's an easy fix, certainly let me know. I'm running into this wall as I get off the ground with very little code. Manually installing HCL does not seem to fix it. Viper is not pulling down its dependency either. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The error suggests that you are not using Go Modules, but it's a requirement for Viper. Read more in the troubleshooting guide. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem when I build a docker-compose container... |
Beta Was this translation helpful? Give feedback.
The error suggests that you are not using Go Modules, but it's a requirement for Viper.
Read more in the troubleshooting guide.