You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add-Member: C:\Users\adm.Christian.Kuever\Downloads\logicappdocs-main\logicappdocs-main\src\Helper.ps1:225
Line |
225 | … Add-Member -MemberType NoteProperty -Name Order -Value $i …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot add a member with the name "Order" because a member with that name already exists. To overwrite the
| member anyway, add the Force parameter to your command.
adding the -force did not solve it.
The text was updated successfully, but these errors were encountered:
I have had this issue. For me it occurs because the if component does not have a runAfter key in it. So either add it to your file or wait a day or so and I will push a PR for the fix.
OK - delayed getting a pull request. It is hopefully quite simple. in helper.ps1
In line 40, change $runAfter from:
else {
Write-Warning ('Action {0} has no runafter property' -f $actionName)
#Set runafter to parent if parent is not null
if ($Parent) {
$runAfter = $Parent
}
to
else {
Write-Warning ('Action {0} has no runafter property' -f $actionName)
#Set runafter to parent if parent is not null
if ($Parent) {
$runAfter = $Parent -replace '(-False|-True)', ''
}
Hi,
i retrieve following error:
Add-Member: C:\Users\adm.Christian.Kuever\Downloads\logicappdocs-main\logicappdocs-main\src\Helper.ps1:225
Line |
225 | … Add-Member -MemberType NoteProperty -Name Order -Value $i …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot add a member with the name "Order" because a member with that name already exists. To overwrite the
| member anyway, add the Force parameter to your command.
The text was updated successfully, but these errors were encountered: