Skip to content
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

Getting error when running #224

Open
exolon opened this issue Aug 26, 2024 · 0 comments
Open

Getting error when running #224

exolon opened this issue Aug 26, 2024 · 0 comments

Comments

@exolon
Copy link

exolon commented Aug 26, 2024

Script executes, starts outputting details, pauses for a few seconds, then spits out the following:

`Cannot convert value "Directory" to type "System.Int32". Error: "Input string was not in a correct format."
At line:1 char:1 lllllllllllllll

  • (& choco list)[-1].Split(' ')[0] - 1
  •   + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvalidCastFromStringToInteger`
    
    

...and then finishes the rest of the output.

Any ideas?

WIndows 11, Terminal preview and Powershell.

@github-staff github-staff deleted a comment from exolon Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@exolon and others