question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli refusing to run

See original GitHub issue

The server and UI work perfectly. When trying to set up the cli, i build the binary but the cli doesn’t run.

i can run ./zally --help and pull up the help message. But cannot get anything else work. Not a problem with Go, as I can get other CLIs to work.

Attaching terminal output. Terminal Saved Output.txt

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
upasanachatterjeecommented, Jun 6, 2018

ah that works perfectly thank you so much! I could swear I tried running the CLI on localhost:8000 but that must have been what I missed

0reactions
maxim-tschumakcommented, Jun 6, 2018

But for some reason, when I just build and run the server using ./gradlew clean build and ./gradlew bootRun, and then cd to where the CLI is located, CLI works fine.

This is good 😃

If I run the docker compose script ./build-and-run.sh I get both the server and the UI up and running. If I then cd to my go folder where the code for the CLI is located and try to run that, I get the errors that I mentioned in my very first post.

In this case (docker-compose), Zally Server runs on port 8000 (--linter-service "http://localhost:8000").

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] `npm` refuses to run if the home directory is inaccessible
Currently happens on npm 8.6.0 and later. Attempting to run any npm command if the user's home directory does not exist (possible for...
Read more >
Troubleshooting AWS CLI errors - AWS Command Line Interface
Access denied errors ... On Linux or macOS, make sure that the aws program has run permissions for the calling user. Typically, the...
Read more >
Unix command line failing to run program after compiling with ...
Your program is doing exactly what you're telling it to do! You feed addRes into the pipe, and then print it out. addRes...
Read more >
Localhost Refused to Connect - How to Fix the Error
Start by navigating to localhost in a different browser. If the connection establishes, then the settings in the initial browser are the issue....
Read more >
How to Fix Shell Script Permission Denied Error in Linux
To fix the permission denied error in Linux, one needs to change the file permission of the script. Use the “chmod” (change mode)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found