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

[Bug report] Does not work on Windows with junction in path #1624

Open
andreashe opened this issue Jan 7, 2025 · 2 comments
Open

[Bug report] Does not work on Windows with junction in path #1624

andreashe opened this issue Jan 7, 2025 · 2 comments
Labels
upstream bug Bug from upperchain or other tools, env, etc.

Comments

@andreashe
Copy link

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

I tested it with this simple project: https://stackblitz.com/edit/vuepress-sotfmabk

Create a windows junction:


mklink /J <Link> <Target>

on Windows 10

Then enter the project (which must be reached through the junction) and do

npm run build

Side node: with npm run dev it works.

@Mister-Hope
Copy link
Member

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.

@Mister-Hope Mister-Hope added the upstream bug Bug from upperchain or other tools, env, etc. label Jan 22, 2025
@github-actions github-actions bot added the stale label Feb 7, 2025
Copy link

github-actions bot commented Feb 7, 2025

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2025
@Mister-Hope Mister-Hope reopened this Feb 15, 2025
@Mister-Hope Mister-Hope removed the stale label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream bug Bug from upperchain or other tools, env, etc.
Projects
None yet
Development

No branches or pull requests

2 participants