Skip to content

SAM Build: path is on mount 'D:', start on mount 'C:' #3474

Open
@JadenSimon

Description

@JadenSimon

A toolkit user was having issues with SAM build when the target build directory and the code were on different drives (see aws/aws-toolkit-vscode#2296). By default the toolkit will create a temporary directory to build in which happened to be on a different drive, so the solution was to manually specify one on the same drive.

The failure occurs here:

return os.path.relpath(

Is this an edge-case for windows machines that needs to be looked into? From what I understand relative paths between drives are impossible so cross-drive resolution would just always fail here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions