ponzu icon indicating copy to clipboard operation
ponzu copied to clipboard

CLI is not working

Open hadooping opened this issue 4 years ago • 14 comments

➜ ~ ponzu zsh: command not found: ponzu

hadooping avatar Mar 29 '20 21:03 hadooping

After installing Ponzu, CLI is not working

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

hadooping avatar Mar 29 '20 21:03 hadooping

Please run the command below in terminal and then use ponzu

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

khozaei avatar Apr 02 '20 05:04 khozaei

Thanks @khozaei but this is not working.

hadooping avatar Apr 16 '20 09:04 hadooping

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

make0x20 avatar May 04 '20 08:05 make0x20

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?

dmitridb avatar May 04 '20 18:05 dmitridb

$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

make0x20 avatar May 05 '20 07:05 make0x20

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

dmitridb avatar May 05 '20 07:05 dmitridb

Running it from bash did not work for me either but I did refer to https://github.com/ponzu-cms/ponzu/issues/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.

make0x20 avatar May 05 '20 18:05 make0x20

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

hadooping avatar Jun 03 '20 19:06 hadooping

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 avatar Jun 03 '20 19:06 dmitridb

It's been hooped since august 2019 with go 1.13

dmitridb avatar Jun 03 '20 19:06 dmitridb

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

dmitridb avatar Jun 03 '20 19:06 dmitridb

@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 [email protected] and received and auto-responder, but no signs up human life yet.

sysfu avatar Jun 07 '20 21:06 sysfu

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.

pavelkrolevets avatar Jun 22 '20 10:06 pavelkrolevets