github-preview.nvim icon indicating copy to clipboard operation
github-preview.nvim copied to clipboard

[Bug]: preview exits with error 1 as soon as it is launched

Open pbignardi opened this issue 8 months ago • 0 comments

What happened? How were you expecting the plugin to behave?

I installed the plugin using the quickstart lazy configuration. I only changed the log_level to verbose to get some info. As I run :GithubPreviewToggle a new browser tab opens, but connection fails and browser display "Unable to connect" error. Tried on Firefox and Chrome.

Below are the plugin logs

----------------
job# 17:
bun install v1.2.13 (64ed68c9)
----------------
job# 17:
----------------
job# 17:
Checked 214 installs across 973 packages (no changes) [11.00ms]
----------------
job# 17:
----------------
job# 17:
++++++++++++++++
job# 17:
exit_code: 0
Press ENTER or type command to continue

after pressing enter:

exit_code: 1

I tried installing bun both using the package manager and the install script from Bun homepage. Thank you in advance for the help :)

:checkhealth

==============================================================================
github-preview:                       require("github-preview.health").check()

github-preview.nvim ~
- platform: arch
- git-commit: 4a01a76
- ✅ OK bun: 1.2.13

pbignardi avatar Jun 03 '25 10:06 pbignardi