docs icon indicating copy to clipboard operation
docs copied to clipboard

Unable to compile docs due to error

Open Evreke opened this issue 4 years ago • 3 comments

I am trying to compile docs to resolve an issue with routing tree webtool.

make compile crashed trying to do git reset inside alertmanager/release-0.19 folder

Part of crash log

error: Sparse checkout leaves no entry on working directory
fatal: Could not reset index file to revision 'HEAD'.

Captain! We’ve been hit!

RuntimeError: Running command 'cd /mnt/d/IdeaProjects/docs/tmp/repo_docs/alertmanager/release-0.19 && git reset --hard --quiet && git clean --force' failed

When I go to folder alertmanager/release-0.19 it is empty. Manually invoking git reset --hard --quite gives the error as in above. Other folders have docs folder inside and I can successfully do git reset on them.

UPD: Problem appears on Windows 11 and maybe reproducible on Windows 10 I repeat all the steps on ubuntu without any issues

Evreke avatar Nov 09 '21 17:11 Evreke

@Evreke How did you manage to build it on Ubuntu, mine is failing.

KirubelT avatar Nov 12 '21 08:11 KirubelT

@KirubelT I just followed instructions

Evreke avatar Nov 15 '21 06:11 Evreke

I meet this the same matter, and you how to reolve it?

lezhang0912 avatar Aug 01 '22 13:08 lezhang0912