You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to run a build task (Ctrl+Shift+B) for a TypeScript project. Both "tsc: build - tsconfig.json" and "tsc: watch - tsconfig.json" show the issue for me.
I see the following output:
> Executing task: 'c:\path\to\project\node_modules.bin\tsc.cmd' -p 'c:\path\to\project\tsconfig.json' --watch <
ParserError:
Line |
1 | … path\to\project\node_modules\.bin\tsc.cmd' -p 'c:\Epi …
| ~~
| Unexpected token '-p' in expression or statement.
The terminal process "C:\Program Files\PowerShell\7\pwsh.exe -Command 'c:\path\to\project\node_modules\.bin\tsc.cmd' -p 'c:\path\to\project\tsconfig.json' --watch" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
I played around a little bit, and I suspect that adding a & before the tsc.cmd path would fix things. I don't have a good way to confirm that, though.
I am reasonably certain that nothing about the project changed to cause this to break -- it was working before I updated to VS Code 1.64.0 and not working after.
VS Code version: Code 1.64.0 (5554b12, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)
Issue Type: Bug
Attempt to run a build task (Ctrl+Shift+B) for a TypeScript project. Both "tsc: build - tsconfig.json" and "tsc: watch - tsconfig.json" show the issue for me.
I see the following output:
> Executing task: 'c:\path\to\project\node_modules.bin\tsc.cmd' -p 'c:\path\to\project\tsconfig.json' --watch <
I played around a little bit, and I suspect that adding a & before the tsc.cmd path would fix things. I don't have a good way to confirm that, though.
I am reasonably certain that nothing about the project changed to cause this to break -- it was working before I updated to VS Code 1.64.0 and not working after.
VS Code version: Code 1.64.0 (5554b12, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (8)
A/B Experiments
The text was updated successfully, but these errors were encountered: