microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.08k stars 29.24k forks source link

Extension is not Building when using Typescript #99565

Closed AllanOricil closed 4 years ago

AllanOricil commented 4 years ago

Steps to Reproduce:

  1. Create an extension with yo code
  2. Choose TypeScript
  3. Open extension folder and click Debug -> Run Extension
  4. Check building is always spinning in the Status Bar in the bottom. (the blue one)

Obs 1: If I choose Javascript it works perfectly.

Obs 2: This behavior is really weird. It started to happen after I updated my windows 10. Before updating windows I was able to create and run any extension.

The image below shows exactly the steps I did. image

This is the Task - watch output

> Executing task: npm run watch <

DEBUG(init.bat): Env Var - CMDER_ROOT=C:\cmder 

DEBUG(init.bat): Env Var - debug_output=1 

DEBUG(init.bat): Looking for Git install root... 

DEBUG(:read_version): Env Var - git_executable=C:\cmder\vendor\git-for-windows\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_VENDORED=2.19.0.windows.1 

DEBUG(:validate_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:parse_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:validate_version): Found Git Version for VENDORED: ... 

DEBUG(:read_version): Env Var - git_executable=C:\Program Files\Git\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_USER=2.22.0.windows.1 

DEBUG(:validate_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:parse_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:validate_version): Found Git Version for USER: ... 

DEBUG(Comparing:):  

DEBUG(USER:): ... 

DEBUG(VENDORED:): ... 

DEBUG(Using found Git from 'C:\Program Files\Git...):  

DEBUG(init.bat): Preferring Windows commands 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Program
s\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\or
icil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\cmd' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\mingw64\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\usr\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(init.bat): Env Var - GIT_INSTALL_ROOT=C:\Program Files\Git 

DEBUG(init.bat): Found Git in: 'C:\Program Files\Git' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\vendor\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData
\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Prog
ram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Z
ulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\App
Data\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3
.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Windo
wsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path_recursive): Env Var - add_path=C:\cmder\bin 

DEBUG(:enhance_path_recursive): Env Var - position= 

DEBUG(:enhance_path_recursive): Env Var - max_depth=1 

DEBUG(:enhance_path_recursive): Adding parent directory - 'C:\cmder\bin' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramDat
a\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Pro
gram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\
Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\Ap
pData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.
3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Wind
owsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Use
rs\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community E
dition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mi
crosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\G
it\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\P
rogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Us
ers\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community 
Edition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\M
icrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Appending 'C:\cmder' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\SyDEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C::\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi\t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Prrogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Useors\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Eodition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mifcrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\cmder

DEBUG(init.bat): Env Var - HOME=C:\Users\oricil

DEBUG(init.bat): Calling - C:\cmder\config\user_profile.cmd

Does this issue occur when all extensions are disabled?: Yes

mjbvz commented 4 years ago

Does this reproduce in the latest VS Code insiders build as well?

alexr00 commented 4 years ago

Where are all those DEBUG statements coming from? They are not part of the the tsc -watch -p ./ task that npm run watch runs.

github-actions[bot] commented 4 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

EricDDK commented 4 years ago
  • VSCode Version: 1.45.1 5763d90 x64
  • OS Version: image

Steps to Reproduce:

  1. Create an extension with yo code
  2. Choose TypeScript
  3. Open extension folder and click Debug -> Run Extension
  4. Check building is always spinning in the Status Bar in the bottom. (the blue one)

Obs 1: If I choose Javascript it works perfectly.

Obs 2: This behavior is really weird. It started to happen after I updated my windows 10. Before updating windows I was able to create and run any extension.

The image below shows exactly the steps I did. image

This is the Task - watch output

> Executing task: npm run watch <

DEBUG(init.bat): Env Var - CMDER_ROOT=C:\cmder 

DEBUG(init.bat): Env Var - debug_output=1 

DEBUG(init.bat): Looking for Git install root... 

DEBUG(:read_version): Env Var - git_executable=C:\cmder\vendor\git-for-windows\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_VENDORED=2.19.0.windows.1 

DEBUG(:validate_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:parse_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:validate_version): Found Git Version for VENDORED: ... 

DEBUG(:read_version): Env Var - git_executable=C:\Program Files\Git\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_USER=2.22.0.windows.1 

DEBUG(:validate_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:parse_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:validate_version): Found Git Version for USER: ... 

DEBUG(Comparing:):  

DEBUG(USER:): ... 

DEBUG(VENDORED:): ... 

DEBUG(Using found Git from 'C:\Program Files\Git...):  

DEBUG(init.bat): Preferring Windows commands 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Program
s\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\or
icil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\cmd' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\mingw64\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\usr\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(init.bat): Env Var - GIT_INSTALL_ROOT=C:\Program Files\Git 

DEBUG(init.bat): Found Git in: 'C:\Program Files\Git' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\vendor\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData
\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Prog
ram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Z
ulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\App
Data\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3
.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Windo
wsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path_recursive): Env Var - add_path=C:\cmder\bin 

DEBUG(:enhance_path_recursive): Env Var - position= 

DEBUG(:enhance_path_recursive): Env Var - max_depth=1 

DEBUG(:enhance_path_recursive): Adding parent directory - 'C:\cmder\bin' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramDat
a\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Pro
gram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\
Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\Ap
pData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.
3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Wind
owsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Use
rs\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community E
dition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mi
crosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\G
it\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\P
rogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Us
ers\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community 
Edition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\M
icrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Appending 'C:\cmder' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\SyDEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C::\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi\t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Prrogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Useors\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Eodition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mifcrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\cmder

DEBUG(init.bat): Env Var - HOME=C:\Users\oricil

DEBUG(init.bat): Calling - C:\cmder\config\user_profile.cmd

Does this issue occur when all extensions are disabled?: Yes

Hi. How do you solve this problem. I have met the same problem within you.

AllanOricil commented 4 years ago

Where are all those DEBUG statements coming from? They are not part of the the tsc -watch -p ./ task that npm run watch runs.

  • VSCode Version: 1.45.1 5763d90 x64
  • OS Version: image

Steps to Reproduce:

  1. Create an extension with yo code
  2. Choose TypeScript
  3. Open extension folder and click Debug -> Run Extension
  4. Check building is always spinning in the Status Bar in the bottom. (the blue one)

Obs 1: If I choose Javascript it works perfectly. Obs 2: This behavior is really weird. It started to happen after I updated my windows 10. Before updating windows I was able to create and run any extension. The image below shows exactly the steps I did. image This is the Task - watch output

> Executing task: npm run watch <

DEBUG(init.bat): Env Var - CMDER_ROOT=C:\cmder 

DEBUG(init.bat): Env Var - debug_output=1 

DEBUG(init.bat): Looking for Git install root... 

DEBUG(:read_version): Env Var - git_executable=C:\cmder\vendor\git-for-windows\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_VENDORED=2.19.0.windows.1 

DEBUG(:validate_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:parse_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:validate_version): Found Git Version for VENDORED: ... 

DEBUG(:read_version): Env Var - git_executable=C:\Program Files\Git\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_USER=2.22.0.windows.1 

DEBUG(:validate_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:parse_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:validate_version): Found Git Version for USER: ... 

DEBUG(Comparing:):  

DEBUG(USER:): ... 

DEBUG(VENDORED:): ... 

DEBUG(Using found Git from 'C:\Program Files\Git...):  

DEBUG(init.bat): Preferring Windows commands 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Program
s\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\or
icil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\cmd' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\mingw64\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\usr\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(init.bat): Env Var - GIT_INSTALL_ROOT=C:\Program Files\Git 

DEBUG(init.bat): Found Git in: 'C:\Program Files\Git' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\vendor\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData
\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Prog
ram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Z
ulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\App
Data\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3
.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Windo
wsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path_recursive): Env Var - add_path=C:\cmder\bin 

DEBUG(:enhance_path_recursive): Env Var - position= 

DEBUG(:enhance_path_recursive): Env Var - max_depth=1 

DEBUG(:enhance_path_recursive): Adding parent directory - 'C:\cmder\bin' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramDat
a\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Pro
gram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\
Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\Ap
pData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.
3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Wind
owsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Use
rs\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community E
dition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mi
crosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\G
it\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\P
rogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Us
ers\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community 
Edition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\M
icrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Appending 'C:\cmder' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\SyDEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C::\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi\t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Prrogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Useors\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Eodition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mifcrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\cmder

DEBUG(init.bat): Env Var - HOME=C:\Users\oricil

DEBUG(init.bat): Calling - C:\cmder\config\user_profile.cmd

Does this issue occur when all extensions are disabled?: Yes

Hi. How do you solve this problem. I have met the same problem within you.

I did not. I created a JS project, and imported the @types/vscode.

AllanOricil commented 4 years ago
  • VSCode Version: 1.45.1 5763d90 x64
  • OS Version: image

Steps to Reproduce:

  1. Create an extension with yo code
  2. Choose TypeScript
  3. Open extension folder and click Debug -> Run Extension
  4. Check building is always spinning in the Status Bar in the bottom. (the blue one)

Obs 1: If I choose Javascript it works perfectly. Obs 2: This behavior is really weird. It started to happen after I updated my windows 10. Before updating windows I was able to create and run any extension. The image below shows exactly the steps I did. image This is the Task - watch output

> Executing task: npm run watch <

DEBUG(init.bat): Env Var - CMDER_ROOT=C:\cmder 

DEBUG(init.bat): Env Var - debug_output=1 

DEBUG(init.bat): Looking for Git install root... 

DEBUG(:read_version): Env Var - git_executable=C:\cmder\vendor\git-for-windows\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_VENDORED=2.19.0.windows.1 

DEBUG(:validate_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:parse_version): ARGV[1]=VENDORED, ARGV[2]=2.19.0.windows.1 

DEBUG(:validate_version): Found Git Version for VENDORED: ... 

DEBUG(:read_version): Env Var - git_executable=C:\Program Files\Git\cmd\git.exe 

DEBUG(:read_version): Env Var - GIT_VERSION_USER=2.22.0.windows.1 

DEBUG(:validate_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:parse_version): ARGV[1]=USER, ARGV[2]=2.22.0.windows.1 

DEBUG(:validate_version): Found Git Version for USER: ... 

DEBUG(Comparing:):  

DEBUG(USER:): ... 

DEBUG(VENDORED:): ... 

DEBUG(Using found Git from 'C:\Program Files\Git...):  

DEBUG(init.bat): Preferring Windows commands 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Program
s\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\or
icil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\cmd' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\mingw64\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\usr\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapat
h;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\
apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:\
Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs\
Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\oric
il\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program Fi
les\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(init.bat): Env Var - GIT_INSTALL_ROOT=C:\Program Files\Git 

DEBUG(init.bat): Found Git in: 'C:\Program Files\Git' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapa
th;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:
\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Zulu\zulu-11\bin\;C:
\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\AppData\Local\Programs
\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.3\bin;C:\Users\ori
cil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Program F
iles\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\vendor\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData
\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Prog
ram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Z
ulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\App
Data\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3
.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Windo
wsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path_recursive): Env Var - add_path=C:\cmder\bin 

DEBUG(:enhance_path_recursive): Env Var - position= 

DEBUG(:enhance_path_recursive): Env Var - max_depth=1 

DEBUG(:enhance_path_recursive): Adding parent directory - 'C:\cmder\bin' 

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramDat
a\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Pro
gram Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\
Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Users\oricil\Ap
pData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.
3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Microsoft\Wind
owsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Prepending 'C:\cmder\bin' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Use
rs\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community E
dition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mi
crosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var 1 - found=0 

DEBUG(:enhance_path): Env Var 2 - found=0 

DEBUG(:enhance_path): BEFORE Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\G
it\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\P
rogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Us
ers\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community 
Edition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\M
icrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Appending 'C:\cmder' 

DEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi
t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Pr
ogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\SyDEBUG(:enhance_path): AFTER Env Var - PATH=C:\cmder\bin;C:\cmder\vendor\bin;C:\Windows\System32;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C::\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Gi\t\cmd;C:\Program Files\PuTTY\;C:\apache-maven-3.6.2-bin\bin;C:\Program Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Prrogram Files\Zulu\zulu-11\bin\;C:\Program Files\Salesforce CLI\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Users\oricil\AppData\Local\Microsoft\WindowsApps;C:\Useors\oricil\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\oricil\AppData\Local\Programs\Fiddler;C:\Program Files\JetBrains\IntelliJ IDEA Community Eodition 2019.3.3\bin;C:\Users\oricil\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\bin;C:\Users\oricil\AppData\Local\Mifcrosoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\cmder

DEBUG(init.bat): Env Var - HOME=C:\Users\oricil

DEBUG(init.bat): Calling - C:\cmder\config\user_profile.cmd

Does this issue occur when all extensions are disabled?: Yes

Hi. How do you solve this problem. I have met the same problem within you.

@alexr00 another person had this problem.

AllanOricil commented 4 years ago

Where are all those DEBUG statements coming from? They are not part of the the tsc -watch -p ./ task that npm run watch runs.

@alexr00 I did not change anything. Just run the script that is available after the project is created. Another person had the same problem.

AllanOricil commented 4 years ago

Does this reproduce in the latest VS Code insiders build as well? I did not tried it. If I create a new extension I share the results here.