`"failed to create stack: failed to run `pulumi ve...
# general
e
`"failed to create stack: failed to run `pulumi version`: exec: \"pulumi\": executable file not found in $PATH"` I got this error when i run my program through vscode debugger. what is the problem here ?
m
Presumably the issue is exactly what the error message says 🙂 What does your $PATH look like in the debugger session? Does it contain the
pulumi
executable?
e
how do i check the vscode debugger path. This is my launch.json
Copy code
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: <https://go.microsoft.com/fwlink/?linkid=830387>
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Package",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${workspaceFolder}/cmd/server",
        }
    ]
}
m
Sorry, not a VS Code user. Check out the linked https://go.microsoft.com/fwlink/?linkid=830387, a quick Google search also brought up this SO post: https://stackoverflow.com/questions/47662998/how-to-extend-path-in-launch-json-in-visual-studio-code
e
Thanks!