Cannot resolve links when folders have periods in the name #9621
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
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
I'm trying to link to docs in my docset that have periods "." in the folder name. * Meadow.Foundation for example.
This doesn't work though and give me the error Module not found: Error: Can't resolve './../../Meadow.Foundation' in '/Users/adam/_/Documentation/docs/Meadow/Getting_Started/Getting_Started_Core-Compute_Module'
I've confirmed it's due to the period in the folder name. Is there a way we can keep periods in our folder names and get this to work?
Reproducible demo
https://github.com/WildernessLabs/Documentation/tree/docusaurus
Steps to reproduce
npm start
Expected behavior
Please resolve links to documents within folders that have periods in their names 🙏🏻
Actual behavior
Module not found: Error: Can't resolve './../../Meadow.Foundation' in '/Users/adam//Documentation/docs/Meadow/Getting_Started/Getting_Started_Core-Compute_Module'
Module not found: Error: Can't resolve './../../Meadow.Foundation' in '/Users/adam//Documentation/docs/Meadow/Getting_Started/Hello_World'
Module not found: Error: Can't resolve './Maple.Server' in '/Users/adam//Documentation/docs/Meadow/Meadow.Foundation/Libraries_and_Frameworks'
Module not found: Error: Can't resolve './../../Meadow.Foundation/Libraries_and_Frameworks/Maple.Server' in '/Users/adam//Documentation/docs/Meadow/Meadow.OS/Networking'
Module not found: Error: Can't resolve './../../Meadow.Foundation' in '/Users/adam//Documentation/docs/Meadow/Meadow_Basics/IO'
Module not found: Error: Can't resolve './../../Meadow.OS' in '/Users/adam//Documentation/docs/Meadow/Meadow_Basics/Meadow.OS'
Module not found: Error: Can't resolve './../Meadow.Foundation' in '/Users/adam//Documentation/docs/Meadow/Meadow_Basics'
Module not found: Error: Can't resolve './../../Meadow.Foundation/Libraries_and_Frameworks/Maple.Server' in '/Users/adam//Documentation/docs/Meadow/Meadow․Foundation/Libraries_and_Frameworks'
Module not found: Error: Can't resolve './../../Meadow.Foundation/Libraries_and_Frameworks/Maple.Server' in '/Users/adam//Documentation/docs/Meadow/Release_Notes/Beta4'
Module not found: Error: Can't resolve './Meadow.Foundation' in '/Users/adam//Documentation/docs/Meadow'
client (webpack 5.89.0) compiled with 10 errors
Your environment
Self-service
The text was updated successfully, but these errors were encountered: