Skip to content

Remove Item Error after computer startup #298

Description

@JimAmuro

Hi, I have just installed posh-git. But everytime when I start powershell the first time after computer startup it shows 2 error message.

Remove-Item : An object at the specified path C:\Users\HUISUN~1 does not exist.
At C:\Users\Hui Sun\Documents\WindowsPowerShell\Modules\posh-git\GitUtils.ps1:242 char:13
+             Remove-Item $path
+             ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-Item], PSArgumentException
    + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : An object at the specified path C:\Users\HUISUN~1 does not exist.
At C:\Users\Hui Sun\Documents\WindowsPowerShell\Modules\posh-git\GitUtils.ps1:242 char:13
+             Remove-Item $path
+             ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-Item], PSArgumentException
    + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.RemoveItemCommand

I have no idea about what is going on and how to fix it. My system is Windows 10 Redstone.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions