aws / aws/aws-toolkit-vscode

WSL: webviews are broken (scripts/images fail to load)

Open
#1,327 11 comments 0 reactions 0 assignees View on GitHub
blocked bug lambda platform:wsl sam
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

The latest update now fails to invoke lambda functions. Previously I was able to click the `invoke` button and have the results returned but now clicking the button produces no output.

The logs report that it cannot find the SAM CLI but otherwise contain no error. I can invoke the function from the terminal using the cli. (I'm assuming the credentials etc are properly configured, as I can list the functions in the explorer.)

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure in WSL by opening the affected webview and using the invoke button; compare its logs with a terminal SAM CLI invocation. Trace the webview's script and image loading alongside the Lambda invocation path, then verify that assets load and invocation results appear without the missing-SAM-CLI error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.