-
Notifications
You must be signed in to change notification settings - Fork 923
[Bug report] Does not work on Windows with junction in path #1624
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
Comments
Thanks for the detailed information, I did a debugging and it seems that it might be an upstream issue. I will see if we can bypass this later. |
This issue is marked as |
This issue is marked as |
This issue is marked as |
Description
On Windows you can create junctions, which is something similar like a symlink. When the project is in a folder which has a junction in the path, it does not work and results with an error like this:
Rendering 3 pagesTypeError: Cannot read properties of undefined (reading 'routeLocale')
Not sure in which module this issue comes up. But I guess it must be something which tries to read a file or calculate a path to a file. For sure it happens not often as very less users may use junctions.
Reproduction
https://stackblitz.com/edit/vuepress-sotfmabk
Used Package Manager
npm
System Info
on Windows 10
Then enter the project (which must be reached through the junction) and do
Side node: with
npm run dev
it works.The text was updated successfully, but these errors were encountered: