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

Unable to read directory #32

Open
informagico opened this issue May 11, 2023 · 1 comment · May be fixed by #33
Open

Unable to read directory #32

informagico opened this issue May 11, 2023 · 1 comment · May be fixed by #33

Comments

@informagico
Copy link
Contributor

Last update of VSCode (1.78.1+) improved security over UNC paths, then if you try to access UNC paths without first explicitly allowing them on settings you will get this error:

image

So if you have private extensions on a network folder, you will see that error.
Don't know where the "Cannot read properties of undefined" is propagating from, could be possibile I will personally investigate later this week and PR something.

Source: https://code.visualstudio.com/docs/setup/windows#_working-with-unc-paths\

@Dream-Painter
Copy link

I am also using this with a network drive, with a UNC path. 'Fixed' it by adding the server name to the "Security: Allowed UNCHosts" setting (security.allowedUNCHosts)

Maybe in the "CheckForUpdates", check if the paths are UNC and if the server of the path is presesnt in the security setting?

@informagico informagico linked a pull request May 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants