Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npx chappe build" on Windows gives wrong directory structure #8

Open
BetTD opened this issue Nov 1, 2022 · 3 comments
Open

"npx chappe build" on Windows gives wrong directory structure #8

BetTD opened this issue Nov 1, 2022 · 3 comments

Comments

@BetTD
Copy link

BetTD commented Nov 1, 2022

Running npx chappe build on a Windows environment seems to be generating a weird directory structure: after a certain depth, the pre-rendered HTML files for each guide is stored under a subdirectory called index.md, as can be seen here:
https://paste.sparked.host/umiboqehec.txt

Running the same command on Linux, against the same repository, yields the correct results as expected:
https://paste.sparked.host/zutahoyapo.txt

@valeriansaliou
Copy link
Member

Hello there!

Unfortunately, Chappe was not built for and tested for Windows. I also don't have any Windows platform to test it on.

I'd accept PRs for a fix. Thank you!

@BetTD
Copy link
Author

BetTD commented Nov 2, 2022

Hm, I wonder how you guys test docs at Crisp...

Anyway, back to the point. It probably has to do with one of the many deprecated dependencies used by Chappe (possibly urix? it's a few levels deep in the dependency tree). Unfortunately, I don't have the time to try to fix this, so I'll see if running this under WSL yields different results.

@valeriansaliou
Copy link
Member

We all run on macOS, on which everything works just fine, and then we build for production on Linux which also works fine.

Let me know if you find anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants