-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Exception calling ctor with one argument #92
Comments
Fun addition, this only happens when I run monkey in powershell ISE, I just got it working in regular powershell |
Hi @joostgrunwald, thanks for letting me know about that. Monkey365 is not designed to work on PowerShell ISE, due to it is not longer maintained by MS. Having said that, I cannot reproduce your issue. I've tested the latest dev version of Monkey365 on several instances and I cannot reproduce it, as shown below: Could you please let me know if it happens again? According to the error message it seems that a variable contains an invalid path format, but it is not clear to me. Thanks! |
Invoke-Monkey365 @param
|
Hi @mkannan22, This isn't a monkey365 issue, and the exception is clear enough (The path is too long). You have multiple options to resolve it, such as producing shorten paths or enabling Long File Paths in Windows 10. Cheers, |
PS C:\m> Invoke-Monkey365 @param
|
Hey @mkannan22, Tested it with multiple versions of PowerShell and OS and I can't reproduce it. Could you please provide more info about how to import it, how to execute it, OS version in use, PS version, etc.. that would be great. Thanks! |
Test on Windows 10 latest build and Windows 11 latest build. PowerShell version: PSVersion 5.1.22621.2506 Import-Module Invoke-Monkey365.ps1 $param = @{ $assets = Invoke-Monkey365 @param |
Hi @mkannan22, As far as I can see from your last comment that you're importing monkey365 incorrectly. Please, see docs about how to import a PowerShell module. https://silverhack.github.io/monkey365/install-instructions/ Cheers, |
What happened?
Ctor error when trying to run this like I did before.
How to reproduce it
Clone develop branch, run steps like I do.
Expected behavior
It working without throwing errors.
Screenshots or Logs
The text was updated successfully, but these errors were encountered: