Can't install profilecli with 'go install'
- Dominant language
- Go
- Stars
- 11.7k
- Forks
- 802
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 80
Description
#### Describe the bug
I wanted to install `profilecli` locally, and the first way I thought of was to use `go install`, but that failed because of the `replace` directives.
#### To Reproduce
Steps to reproduce the behavior:
1. ```console
$ go install github.com/grafana/phlare/cmd/profilecli@latest
go: downloading github.com/grafana/phlare v0.5.1
go: github.com/grafana/phlare/cmd/profilecli@latest (in github.com/grafana/phlare@v0.5.1):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
```
#### Expected behavior
I expected that command to succeed...
#### Environment
- Infrastructure: local (desktop)
- Deployment tool: n/a
#### Additional Context
A simple workaround is to just download the pre-built binaries from [the release page](https://github.com/grafana/phlare/releases/tag/v0.5.1)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.