powershell-profile-alias
powershell-profile-alias copied to clipboard
Unable to fine type [sring]
Testing this out for the first time and was met with this series of errors when trying to register.
> Register-ProfileAliasInProfile
InvalidOperation: Unable to find type [sring].
InvalidOperation: You cannot call a method on a null-valued expression.
InvalidOperation: You cannot call a method on a null-valued expression.
Set-Content: Could not find a part of the path 'C:\Users\me\OneDrive - AName\Documents\PowerShell\Microsoft.PowerShell_profile.ps1'.
The "sring" portion appears to be a typo here: https://github.com/hackf5/powershell-profile-alias/blob/774fd2becec8acdefbe55d4573d1fc8dd8d34e60/src/HackF5.ProfileAlias/HackF5.ProfileAlias.psm1#L391
No idea if the following lines are stemming from that or their own issues.