Skip to content

Commit

Permalink
Update Readme Troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
josehbez committed Jul 5, 2021
1 parent 2bc82cb commit 538e16e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,19 @@ pm maintainer --add "Jose Hbez" https://github.com/josehbez

### Discussions

[https://github.com/josehbez/pm/discussions](https://github.com/josehbez/pm/discussions)
[https://github.com/josehbez/pm/discussions](https://github.com/josehbez/pm/discussions)


### Troubleshooting

#### Cannot find package
Pm installation seems to fail a lot lately with the following (or a similar) error:
```
package github.com/hashicorp/hcl/hcl/printer: cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of:
/usr/lib/go-1.13/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
/home/user/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)
```
The solution is easy: switch to using Go Modules. Please refer to the wiki on how to do that.

`export GO111MODULE=on`

0 comments on commit 538e16e

Please sign in to comment.