-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmation-pendinginfo-neededIssue requires more information from posterIssue requires more information from posterinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstasksTask system issuesTask system issues
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.100.0-insider (Universal)
- OS Version: Darwin arm64 24.5.0
Steps to Reproduce:
- Setup a Node project
- Add a script like "dev": "theansweris 42" to scripts in package.json
- Add a launch configuration like this:
{
"name": "Chrome Launch",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"preLaunchTask": "npm: dev",
"webRoot": "${workspaceFolder}"
}
- Try running the launch configuration and get this error as a pop-up:
Cannot read properties of undefined (reading 'kind')
This must be a problem with "preLaunchTask", because when I removed "preLaunchTask", Chrome started as expected. I also recognized that VS Code does not add newly added tasks in tasks.json to the IntelliSense drop-down and whenever I tried to add a custom task from tasks.json to "preLaunchTask", I get the same error.
CallumAtCarter, mdmulligan, glektarssza and freshmozart1Copilot
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmation-pendinginfo-neededIssue requires more information from posterIssue requires more information from posterinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstasksTask system issuesTask system issues