How to get markdown-preview.nvim to work via pack installation? #742
Unanswered
sunbearc22
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My installation procedure:
I had
git clone https://github.com/iamcco/markdown-preview.nvim.gitinto the~/.config/nvim/pack/nvim/start/markdown-preview.nvimdirectory.cd ~/.config/nvim/pack/nvim/start/markdown-preview.nvimnpx --yes yarn installnpx --yes yarn buildHowever, I encountered this error:
Solved it by doing
export NODE_OPTIONS=--openssl-legacy-providerfollowed bynpx --yes yarn build. The build completed successfully.In
~/.config/nvim/init.lua, I addedrequire("markdown-preview").setup({}). However, this caused this error when I restartednvim:I confirm that its executable file exist:
How do I resolve this installation issue for pack method?
I can't locate a lua folder in this project which is suppose to have a
init.luafile.Beta Was this translation helpful? Give feedback.
All reactions