Description
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. ---> System.InvalidCastException: Unable to cast object of type
'System.String' to type 'System.Collections.Generic.IDictionary2[System.String,System.Object]'. at Edge.PS.EdgePowerShell.<InvokeScript>d__2.MoveNext() in d:\Install\Node\edge-powershell-master\src\Edge.PowerShell \Edge.PowerShell\EdgePowerShell.cs:line 36 --- End of inner exception stack trace --- ---> (Inner Exception #0) System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Col lections.Generic.IDictionary
2[System.String,System.Object]'.
at Edge.PS.EdgePowerShell.d__2.MoveNext() in d:\Install\Node\edge-powershell-master\src\Edge.PowerShell
\Edge.PowerShell\EdgePowerShell.cs:line 36<---
What am I doing wrong?
I've installed Node.js 0.8.19 and Edge.
/Stefan