edge-powershell
edge-powershell copied to clipboard
Run Powershell in node.js
Hey Doug, Have you seen this error before? ../c/nodeprojects/node-edge-test1/edge-powershell/edge-powershell/samples/trypowershell $ node server.js C:\nodeprojects\node-edge-test1\edge-powershell\edge-powershell\lib Server listening on port 8080 { [System.NullReferenceException: Object reference not set to an instance of an object.]...
https://github.com/dfinke/edge-powershell/blob/master/src/Edge.PowerShell/Edge.PowerShell/EdgePowerShell.cs Get this error System.InvalidOperationException: A circular reference was detected while serializing an object of type 'System.Manageme nt.Automation.PSParameterizedProperty'.
``` System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Process must exit before requested information can be determined. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_ExitCode() --- End...
When I run the following from the samples folder I get the following error: D:\Install\Node\edge-powershell-master\samples\tryPowerShell> node .\test.js D:\Install\Node\edge-powershell-master\samples\tryPowerShell\test.js:16 if (error) throw error; ^ System.AggregateException: One or more errors occurred. --->...