Closed Shadab995 closed 2 years ago
What is the error you're getting? I'm not able to reproduce the issue.
Thank you for the quick response .
the error is flogo is not getting installed.
when I'm trying to use flogo it gives me the error : 'flogo' not found
is $GOPATH/bin added to your PATH env var?
Yes , GOPATH = C:\Program Files\Go\bin
and also via ubuntu in Path : %USERPROFILE%\go\bin
Is the flogo binary in go/bin? What happens if you:
cd cli/cmd/flogo
go build
It is showing me this error with Go version 18.6
and this one with Go version 1.12.7
I suspect there may be an issue with your installation of go... Is it possible to remove your previous version and install again? All of the errors that you've shown are not within the Flogo CLI code but rather part of go...
Can you tell me what is the specific version of go suitable for Flogo ?
Any recent version should suffice. I'm currently using 1.19.
Is the flogo binary in go/bin? What happens if you:
cd cli/cmd/flogo go build
I can see a file called as "flogo" being created but it's not readable. any idea what can be done ?
Great, that's the flogo CLI binary. Feel free to try go install again or manually copy that over to GOPATH/bin and then run execute the flogo CLI as you normally would.
You may have to chmod the file so that you can execute it, jfyi...
Thank you so much for your help.. it worked.
Hello ,
I have installed both windows and linux go version 1.18.6 but still when I'm executing the following commands
go install github.com/project-flogo/cli/...@latest
It doesn't install 'flogo'.
I also tried using the other way git clone https://github.com/project-flogo/cli.git cd cli git checkout test_branch go install ./...
but still the same error .
Can you please help me on that. It's very important for me . I have a deadline.
Thank you