luckasRanarison / nvim-devdocs

Neovim DevDocs integration
MIT License
266 stars 19 forks source link

Error when installing some docs #58

Open michaelcarno opened 10 months ago

michaelcarno commented 10 months ago

Command :DevDocsInstall typescript give me that:

image and its not istalled. Same as angular, docker, etc.

luckasRanarison commented 10 months ago

Hum, that's really weird. All the docs you've mentioned works perfectly for me after a fresh install and I can't reproduce. Can you provide more informations? nvim-treesitter, plenary.nvim, curl and neovim version.

michaelcarno commented 10 months ago

Im using nvim 0.9.4 with astronvim, curl 8.4, lastest version of treesitter and plenary from github. Javasript and rxjs installed fine without errors. My checkhealth

luckasRanarison commented 9 months ago

Sorry for the really late reply, I've been busy with study and other projects but I'm back to active development now. Can you still reproduce the issue?

michaelcarno commented 9 months ago

Now i get nvim-devdocs: Error when fetching registery, exit code: 2 on fetch or install on any docs.

luckasRanarison commented 9 months ago

If you're using windows maybe it's related to #31? I think the cause of the original issue was that the docs haven't been fetched correctly resulting in an invalid string.

michaelcarno commented 9 months ago

Yeah, its was wrong version of curl wiout some features. Now its fetched, and trying to install, right after installing start i got this error: image I can see downloaded *.md files in devdoc folder, but in menu :DevdocsOpen is empty

luckasRanarison commented 8 months ago

Sorry again for the late reply.

I've added a log system so we should be able to trace the issue more accurately now. Could you set the DEBUG_PLENARY environment variable to true in your shell, run neovim, install the docs, then preview the log file content using the following command?

:e `=stdpath('data') . '/devdocs/log.txt'\`