-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bug: sam build - ValueError #7569
Comments
Sorry forgot to indicate that I'm using VSCode 1.94.1 with AWSToolkit 3.28.0 |
Thanks for reporting this issue. Can you explain how did you created |
Hello, |
You should see See: https://aws.amazon.com/visualstudiocode/ With those shortcuts, |
Hi, |
But this should work even if you open your project. Can you make sure your root folder is the project's root folder? Also, can you make sure you open the lambda function handler? You should be able to see these shortcuts above. |
Hello, |
Description:
Try to run hello-world SAM sample localy in VSCode
Steps to reproduce:
Create the project hello-world with SAM
Open it in VSCode
Create a launch.json
Run the code in nodejs20.x
Observed result:
[info] Error: path is on mount 'E:', start on mount 'C:' (why?)
last stack trace:
File "E:\aws\AWSSAMCLI\runtime\Lib\site-packages\samcli\commands_utils\template.py", line 267, in _resolve_relative_to
return os.path.relpath(
^^^^^^^^^^^^^^^^
File "", line 783, in relpath
Expected result:
Code run :-)
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Windows 11 23H2
AWS CLI : 2.18.6
SAM CLI : 1.125.0
Thank you
The text was updated successfully, but these errors were encountered: