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

nb cannot find installed netcat so won't allow browsing #357

Open
aberrantian opened this issue Mar 15, 2025 · 1 comment
Open

nb cannot find installed netcat so won't allow browsing #357

aberrantian opened this issue Mar 15, 2025 · 1 comment

Comments

@aberrantian
Copy link

aberrantian commented Mar 15, 2025

Hello.

When I attempt to browse my notes using nb b or nb b -g I get the following message:

! Install `ncat`, `nc` / `netcat`, or Bash 5.2+ for full browsing and linking:
https://nmap.org/ncat/
https://en.wikipedia.org/wiki/Netcat

I believe I meet all those requirements:

bash --version
GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
whereis netcat
netcat: /usr/bin/netcat /usr/share/man/man1/netcat.1.gz

I am running debian 12, everything up to date, and I installed nb through npm. Some relevant information might be that netcat on debian has two versions of netcat: netcat-openbsd and netcat-traditional. I have tried both versions, neither of which worked.

@aberrantian
Copy link
Author

aberrantian commented Mar 15, 2025

Workaround Fix

After reading the optional recommended tools I saw a line that said ncat or socat so I installed socat and now I can browse my notes.

Should probably update the error message to mention that socat can be used instead of netcat.

Edit: Adressed in pull request #361

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

1 participant