Skip to content

Bug: sam build - ValueError #7569

@franckpochet

Description

@franckpochet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked/more-info-neededMore info is needed from the requester. If no response in 14 days, it will become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions