Skip to content

n --update does not work correctly #240

@Ashvin-Ranjan

Description

@Ashvin-Ranjan

While putting in the correct command into Powershell works fine doing n --update gives this error:

Remove-Item : Cannot remove item C:\Users\Ashvin\.n\bin\_asyncio.pyd: Access to the path
'C:\Users\Ashvin\.n\bin\_asyncio.pyd' is denied.
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:1029
char:29
+ ...             Remove-Item -LiteralPath $currentArchiveEntryFileInfo.Ful ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (C:\Users\Ashvin\.n\bin\_asyncio.pyd:FileInfo) [Remove-Item], Unauthor
   izedAccessException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions