Skip to content

Windows, couldNotFindTemp #82015

Open
Open
@roberto-gigli

Description

@roberto-gigli

Description

Just right after installation, running swift --version, prints to
"error: couldNotFindTmpDir("C:\WINDOWS\TEMP")",
Even other swift commands don't work for the same reason

Reproduction

winget install --id Swift.Toolchain -e
swift --version

Stack dump

error: couldNotFindTmpDir("C:\\WINDOWS\\TEMP")

Expected behavior

Getting the correct swift version

Environment

I can't do swift --version

Additional information

No admin administrator privileges on the machine as it is a company PC

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions