Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI is not working #341

Open
hadooping opened this issue Mar 29, 2020 · 14 comments
Open

CLI is not working #341

hadooping opened this issue Mar 29, 2020 · 14 comments

Comments

@hadooping
Copy link

➜ ~ ponzu
zsh: command not found: ponzu

@hadooping
Copy link
Author

After installing Ponzu, CLI is not working

➜ ~ go get -u github.com/ponzu-cms/ponzu/...
➜ ~
➜ ~
➜ ~ ponzu
zsh: command not found: ponzu

@khozaei
Copy link

khozaei commented Apr 2, 2020

Please run the command below in terminal and then use ponzu

export PATH=`go env GOPATH`/bin:$PATH

@hadooping
Copy link
Author

Thanks @khozaei but this is not working.

@make0x20
Copy link

make0x20 commented May 4, 2020

Hi,

Can confirm that the command is not working for me either after running go get..

Any ideas on any other steps to try?

Thanks

@dmitridb
Copy link

dmitridb commented May 4, 2020

Hi,

Can confirm that the command is not working for me either after running go get..

Any ideas on any other steps to try?

Thanks

$ echo $SHELL
$ echo $PATH
$ echo $GOPATH

what do these say for you?

@make0x20
Copy link

make0x20 commented May 5, 2020

$SHELL
/usr/bin/zsh

$PATH
/home/tim/.nvm/versions/node/v12.13.1/bin:/home/tim/go/bin:/usr/local/go/bin/:/home/tim/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/tim/Development/Bash

$GOPATH
/home/tim/go

@dmitridb
Copy link

dmitridb commented May 5, 2020

Try running it from bash instead (making sure necesary path is the same)

@make0x20
Copy link

make0x20 commented May 5, 2020

Running it from bash did not work for me either but I did refer to #342 issue.

I checkedout to v11.x branch on github.com/blevesearch/zap locally and ran go get -u github.com/ponzu-cms/ponzu/... again. That seemed to make it work.

@hadooping
Copy link
Author

Same case, not sure if this is supported, really frustrating.

@dmitridb
Copy link

dmitridb commented Jun 3, 2020

Yeah well all this $GOPATH stuff was deprecated along with the changes to the module system, so this entire project needs a fix to that end. I'm spending some of my spare time trying to figure out how to best accomplish this. If you get a better idea of how to do this before I do lemme know because all I got was a big shrug from @nilslice

@dmitridb
Copy link

dmitridb commented Jun 3, 2020

It's been hooped since august 2019 with go 1.13

@dmitridb
Copy link

dmitridb commented Jun 3, 2020

If you hope to understand further this goes into pretty complete details by the way https://github.com/golang/go/wiki/Modules

@sysfu
Copy link

sysfu commented Jun 7, 2020

@dmitridb I'm stuck getting ponzu to install using the fish shell. If you want any help testing the codebase updates lmk. Also curious if you've seen any interest or signs of life from @apilayer. I sent an email to support@apilayer.com and received and auto-responder, but no signs up human life yet.

@pavelkrolevets
Copy link

Running it from bash did not work for me either but I did refer to #342 issue.

I checkedout to v11.x branch on github.com/blevesearch/zap locally and ran go get -u github.com/ponzu-cms/ponzu/... again. That seemed to make it work.

This worked for me. Also manually added to github.com/blevesearch/zap folders v12, v13, v14 and unzip there from zap releases axives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants