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

Unable to preview in browser. #33

Open
columbine2k opened this issue Apr 17, 2023 · 3 comments
Open

Unable to preview in browser. #33

columbine2k opened this issue Apr 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@columbine2k
Copy link

Describe the bug
After executing “:PeekOpen", the preview cannot be opened in the browser.
It seems to be always loading.

To Reproduce
As described above.

Expected behavior
Just preview md file.

Screenshots
截屏2023-04-18 00 31 14

Desktop (please complete the following information):

  • OS: macOS 13.3.1
  • nvim --version:
NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3
  • deno --version:
deno 1.32.4 (release, aarch64-apple-darwin)
v8 11.2.214.9
typescript 5.0.3
  • plugin setup:
return {
	{
	'toppair/peek.nvim',
	build = 'deno task --quiet build:fast',
	ft = 'markdown',
	config = function()
		vim.api.nvim_create_user_command('PeekOpen', require('peek').open, {})
		vim.api.nvim_create_user_command('PeekClose', require('peek').close, {})
		require('peek').setup ({
			theme = 'light',
			app = 'browser',
		})
	end
	}
}

Additional context
None.

@columbine2k columbine2k added the bug Something isn't working label Apr 17, 2023
@tom-kuca
Copy link
Contributor

You can get more information if you open Console in Developer tools, usually Ctrl+Shift+I. Check #31, the symptoms are the same.

@garrett361
Copy link

I am seeing this same behavior, but opening up the console does not show the same errors as described in #31

@haroun
Copy link

haroun commented Apr 21, 2023

In session storage I have session with the "{"base":"http://localhost:35241/?theme=dark","html":"\n <div class=\"loader\"></div>\n "}".

The network panel shows no additional activity after the first websocket frame.
The Console is empty.

network-panel

Update it is now working, I can see frames in the websocket response. Don't know if this is due to a recent Deno upgrade I've did, Firefox (now using 113.0.2 (64-bit)) or something else (maybe 67752e7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants