Closed TornaxO7 closed 1 year ago
I got the same error and fixed by installing webkit2gtk
packages on aur. Try it and let me know if it works
Installing the webkit2gtk
packages didn't help me in this case. I'm also using lazy
package manager which must be the problem, peek's scripts/build.js
file is not getting executed so the generated files don't exist.
Workaround is:
cd ~/.local/share/nvim/lazy/peek.nvim
deno run --allow-run --allow-net --allow-read --allow-write --allow-env --no-check scripts/build.js
hmmm... Reinstall lazy packages then try again
This fixed my issue.
deno run --allow-run --allow-net --allow-read --allow-write --allow-env --no-check scripts/build.js
PS: for anyone using packer you'll need to go to
~/.local/share/nvim/site/pack/packer/start/peek.nvim
to run to above command
I got a similar error on windows too. The issue was Neovim was installed and the plugin was setup before deno
was installed on my PC.
So I ran :Lazy build peek.nvim
, it seemed to fix this issue.
I got a similar error on windows too. The issue was Neovim was installed and the plugin was setup before
deno
was installed on my PC.So I ran
:Lazy build peek.nvim
, it seemed to fix this issue.
Wohoo! That did it!
@1amSimp1e should I close this issue?
yeh close it
Describe the bug I'm getting the following error message if I excute
:lua require('peek').open()
.To Reproduce I'm using lazy as my plugin manager. This is in my
~/.config/nvim/lua/plugins/peek_settings/init.lua
~/.config/nvim/lua/plugins/peek_settings/commands.lua
Steps:
nvim /tmp/test.md
:PeekOpen
orlua require("peek").open()
.Expected behavior That everything works fine.
Screenshots![image](https://user-images.githubusercontent.com/50843046/224765809-f5153f21-00a9-4d0d-a1e1-507198c4bd72.png)
This pops up.
Desktop (please complete the following information):
nvim --version
:deno --version
: