configlet icon indicating copy to clipboard operation
configlet copied to clipboard

Powershell fetch doesn't work

Open SleeplessByte opened this issue 1 year ago • 0 comments

Fetching configlet...
Invoke-RestMethod : A parameter cannot be found that matches parameter name 'PreserveAuthorizationOnRedirect'.
At C:\Users\Derk-Jan\Documents\GitHub\exercism\typescript\bin\fetch-configlet.ps1:18 char:39
+ ... e-RestMethod -Uri $latestUrl -PreserveAuthorizationOnRedirect @reques ...
+                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-RestMethod], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
PS C:\Users\Derk-Jan\Documents\GitHub\exercism\typescript> get-host


Name             : ConsoleHost
Version          : 5.1.22621.3880
InstanceId       : 8ba2f00c-7362-4f0a-871d-53ab194a2c49
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Is there anything else I can provide to solve this?

SleeplessByte avatar Jul 31 '24 21:07 SleeplessByte