-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
VS Code tasks fail with error "Cannot read properties of undefined (reading 'shell')" #56
Comments
Broken in the same way for me as well, on Linux, with the latest snap version of vs code. |
Same for me on native Windows 10 and in WSL2 (Ubuntu 22.04). |
Same for me on native macOS (14.2.1 (23C71)) and VS Code 1.85.1 (Universal). |
Hi! Are there any updates on this? |
I'm using 'code workspace' with multiple project in it. (multiple taskfiles) I have more than 1 default build task. |
Same here. |
@pd93 Apparently vscode-task extension does break native vscode ability to run tasks (unrelated to taskfile). See them documented at https://code.visualstudio.com/docs/editor/tasks#vscode When this extension is installed we can see the error described by the OP. |
When the extension is enabled, tasks defined in
.vscode/tasks.json
fail to run. For example:When using the
Tasks: Run Task
command and selecting theecho
task, this error pops up:The text was updated successfully, but these errors were encountered: