Symlinks to subdirectories in docs folder do not work, and produce unintuitive error messages #10751
Open
6 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Docusaurus does not handle symlinks to directories inside the docs directory. The error message that is displayed does not help track down the problem.
This situation arose when trying to create a workflow that did a git clone on several private sibling repos into the project base directory, and then creating symlinks for the various 'docs' directories in those clones to subdirs in the project base 'docs' directory.
Reproducible demo
No response
Steps to reproduce
Steps to reproduce:
If you change the symlink to a copy command, everything works as expected
Expected behavior
I expected that the documents in the symlink'ed directories would be processed as if they were just normal subdirectories and files.
Actual behavior
Every file generated the following error:
Your environment
Self-service
The text was updated successfully, but these errors were encountered: