-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
VSCode won't launch on Windows if path contains # character #56506
Comments
(Experimental duplicate detection)
|
@alanrenmsft Do you have to run Code from a path with |
This could be electron/electron#10311 (even though that one talks about a leading "#"). |
@alanrenmsft for some reason I cannot reproduce this issue. I installed VSCode Insiders to this folder: " |
I've tried searching in existing issues but couldn't find one tracking this issue.
VSCode Version:
1.27.0 Insider build as well as other versions
OS Version:
Windows 10 Version 1709
Steps to Reproduce:
Result:
VS code is not launching with the following error in the cmd window:
The factory method of "vs/base/node/paths" has thrown an exception
{ Error: Cannot find module 'c:\Program Files\Microsoft VS Code '
at Module._resolveFilename (module.js:543:15)
at Function.Module._resolveFilename (C:\Program Files\Microsoft VS Code # Insiders\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:473:25)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at Function.i [as __$__nodeRequire] (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:30:770)
at Object. (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\code\electron-main\main.js:135:413)
at Function.t._safeInvokeFunction (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:19:248)
at Function.t._invokeFactory (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:19:495)
at t.complete (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:19:732)
at s._onModuleComplete (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:30:25)
at s._resolve (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:29:599)
at s.defineModule (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:23:862)
at o (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\loader.js:31:180)
at Object. (C:\Program Files\Microsoft VS Code # Insiders\resources\app\out\vs\code\electron-main\main.js:135:265)
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: