Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Error when installing some docs #58

Open
michaelcarno opened this issue Oct 22, 2023 · 7 comments
Open

Error when installing some docs #58

michaelcarno opened this issue Oct 22, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@michaelcarno
Copy link

Command :DevDocsInstall typescript give me that:

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

@luckasRanarison
Copy link
Owner

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
Copy link
Author

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 luckasRanarison added the bug Something isn't working label Oct 23, 2023
@luckasRanarison
Copy link
Owner

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
Copy link
Author

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

@luckasRanarison
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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'\`

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

No branches or pull requests

2 participants