github / gh-classroom

GitHub Classroom CLI Extension is a powerful and easy-to-use command line tool that enhances the functionality of the GitHub CLI, specifically tailored for educators using GitHub Classroom.
MIT License
75 stars 12 forks source link

[BUG]: AppData\Local\GitHub CLI\extensions\gh-classroom\gh-classroom.exe: %1 is not a valid Win32 application #68

Closed AAtuan closed 2 weeks ago

AAtuan commented 5 months ago

Thanks for taking the time to fill out this out! :bow: By submitting this issue, you agree to follow our Code of Conduct.

What happened?

What did you do? What happened? What did you expect to happen? I installed the github cli on my laptop, which is running windows 11. Then I installed the gh classroom extension, which is the one I need for grading, but I always get this error and I don't know how to fix it. I was expecting to see my classroom list to then clone some repos.

Versions

What versions of the relevant software are you running? For example: gh v2.37.0, gh-copilot v0.5.2-beta latest version

Relevant terminal output

Please copy and paste any relevant terminal output. Please check your output before submission to ensure sensitive information is redacted. AppData\Local\GitHub CLI\extensions\gh-classroom\gh-classroom.exe: %1 is not a valid Win32 application

AAtuan commented 5 months ago

I also read a previous thread and someone said they found a solution but I couldn't get mine to work.

andyfeller commented 5 months ago

Nice to meet you, @AAtuan! 👋 I think we should transfer this issue to https://github.com/github/gh-classroom to get the right people to help you out.

At a cursory glance, I've seen this issue with Windows 11 as it installed the extension with the wrong CPU architecture. Given the latest gh-classroom release offers multiple windows distributions, I think uninstalling and reinstalling it, noting which version is downloaded is a good first step.

nixpad commented 2 weeks ago

@andyfeller thank you for the suggestions! Closing as stale and done.