rk
rk copied to clipboard
-bash: rk: command not found
Hello, my machine is CentOS 7. I have some problems when I run go get -u github.com/rookie-ninja/rk/cmd/rk
.
error detail:
# github.com/rookie-ninja/rk/commands/pkg
../Go/pkg/mod/github.com/rookie-ninja/[email protected]/commands/pkg/pkg_create.go:99:7: undefined: rkcommon.NewMemFsToLocalFsCopier
../Go/pkg/mod/github.com/rookie-ninja/[email protected]/commands/pkg/pkg_create.go:112:7: undefined: rkcommon.NewPkgerFsToLocalFsCopier
[root@localhost ~]# rk install
-bash: rk: command not found
Hope to get your reply and help. Thanks.
@cy414 I got the problem description, I will try to reproduce the problem under the same environment and reply with solution ASAP.
Found the problem, I will fix the problem by the end of today and publish a new release.
@cy414 Fixed the problem and tested under CentOS.
The problem occurs because of rk-common package was deprecated. Now the dependency was removed. We removed rk pkg command from rk CLI currently since a new version of rk pkg would be designed soon.
Please download release of v1.2.4 and it would be working.