Last active
June 15, 2020 12:50
-
-
Save brettmillerb/dfbfbda453858d50ba4d75015e9235bb to your computer and use it in GitHub Desktop.
Error for EditorServicesCommandSuite MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.Management.Automation.MethodInvocationException: Exception calling "ProcessRecord" with "1" argument(s): "Method not found: 'Int64 Microsoft.PowerShell.EditorServices.Extensions.ILspFilePosition.get_Line()'." | |
---> System.MissingMethodException: Method not found: 'Int64 Microsoft.PowerShell.EditorServices.Extensions.ILspFilePosition.get_Line()'. | |
at EditorServicesCommandSuite.EditorServices.ContextService.GetDocumentContextAsync(PSCmdlet cmdlet, CancellationToken cancellationToken, ThreadController threadController) | |
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) | |
at EditorServicesCommandSuite.EditorServices.ContextService.GetDocumentContextAsync(PSCmdlet cmdlet, CancellationToken cancellationToken, ThreadController threadController) | |
at EditorServicesCommandSuite.Internal.RefactorCmdletAdapter.<>c__DisplayClass12_0.<<InvokeRefactor>b__0>d.MoveNext() in D:\a\1\s\src\EditorServicesCommandSuite\Internal\RefactorCmdletAdapter.cs:line 126 | |
--- End of stack trace from previous location --- | |
at EditorServicesCommandSuite.Utility.ThreadController.GiveControl(Task requestTask, CancellationToken cancellationToken) in D:\a\1\s\src\EditorServicesCommandSuite\Utility\ThreadController.cs:line 55 | |
at EditorServicesCommandSuite.Internal.RefactorCmdletAdapter.InvokeRefactor(String className, PSCmdlet psCmdlet) in D:\a\1\s\src\EditorServicesCommandSuite\Internal\RefactorCmdletAdapter.cs:line 149 | |
at EditorServicesCommandSuite.Internal.RefactorCmdletAdapter.ProcessRecord(MethodInvocationInfo methodInvocationInfo) in D:\a\1\s\src\EditorServicesCommandSuite\Internal\RefactorCmdletAdapter.cs:line 76 | |
at CallSite.Target(Closure , CallSite , Object , Object ) | |
--- End of inner exception stack trace --- | |
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) in /PowerShell/src/System.Management.Automation/engine/hostifaces/pipelinebase.cs:line 411 | |
at System.Management.Automation.Runspaces.Pipeline.Invoke() in /PowerShell/src/System.Management.Automation/engine/hostifaces/Pipeline.cs:line 528 | |
at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) in /PowerShell/src/System.Management.Automation/engine/hostifaces/PowerShell.cs:line 5570 | |
at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync) in /PowerShell/src/System.Management.Automation/engine/hostifaces/PowerShell.cs:line 5417 | |
at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) in /PowerShell/src/System.Management.Automation/engine/hostifaces/PowerShell.cs:line 4536 | |
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) in /PowerShell/src/System.Management.Automation/engine/hostifaces/PowerShell.cs:line 4728 | |
at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings) in /PowerShell/src/System.Management.Automation/engine/hostifaces/PowerShell.cs:line 4476 | |
at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, IList`1 output, PSInvocationSettings settings) in /PowerShell/src/System.Management.Automation/engine/hostifaces/PowerShell.cs:line 2734 | |
at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) in /PowerShell/src/System.Management.Automation/engine/hostifaces/PowerShell.cs:line 2600 | |
at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.<>c__DisplayClass89_0`1.<ExecuteCommandAsync>b__0() in D:\a\1\s\src\PowerShellEditorServices\Services\PowerShellContext\PowerShellContextService.cs:line 778 | |
at System.Threading.Tasks.Task`1.InnerInvoke() | |
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) | |
--- End of stack trace from previous location --- | |
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) | |
--- End of stack trace from previous location --- | |
at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandAsync[TResult](PSCommand psCommand, StringBuilder errorMessages, ExecutionOptions executionOptions) in D:\a\1\s\src\PowerShellEditorServices\Services\PowerShellContext\PowerShellContextService.cs:line 778 | |
at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandAsync[TResult](PSCommand psCommand, StringBuilder errorMessages, ExecutionOptions executionOptions) in D:\a\1\s\src\PowerShellEditorServices\Services\PowerShellContext\PowerShellContextService.cs:line 823 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name Value | |
---- ----- | |
PSVersion 7.1.0-preview.3 | |
PSEdition Core | |
GitCommitId 7.1.0-preview.3 | |
OS Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 | |
Platform Unix | |
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} | |
PSRemotingProtocolVersion 2.3 | |
SerializationVersion 1.1.0.1 | |
WSManStackVersion 3.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment