gh-classroom icon indicating copy to clipboard operation
gh-classroom copied to clipboard

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

Open AAtuan opened this issue 1 year ago • 2 comments

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 avatar Feb 27 '24 16:02 AAtuan

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

AAtuan avatar Feb 27 '24 16:02 AAtuan

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.

andyfeller avatar Feb 27 '24 16:02 andyfeller

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

nixpad avatar Jul 10 '24 01:07 nixpad