[CommandNotFound] - breaks powershell when internet is disconnected #33065
Labels
Issue-Bug
Something isn't working
Priority-1
Bug that is high priority
Product-CommandNotFound
Refers to Command Not Found PowerToy
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Microsoft PowerToys version
0.81.0
Installation method
Other (please specify in "Steps to Reproduce")
Running as admin
Yes
Area(s) with issue?
Command not found
Steps to reproduce
install command not found module
![image](https://private-user-images.githubusercontent.com/39211144/333732701-fce8de91-086e-477f-8650-ff79c7cf9e0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2OTY2ODYsIm5iZiI6MTcxOTY5NjM4NiwicGF0aCI6Ii8zOTIxMTE0NC8zMzM3MzI3MDEtZmNlOGRlOTEtMDg2ZS00NzdmLTg2NTAtZmY3OWM3Y2Y5ZTBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDIxMjYyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThhY2U1MDU2ZTRmMDY5ODI1MmI1Y2QzNTJhYTUzM2UyZjRhOTVhMDM0Yjg5NjhjOTM1Nzg5Zjg4ZWEyYzlhMjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rh3A1jRFA6wgUdsf0Cw4QYF05PhoRUws6cJoUp5XUYA)
disconnect the internet
Start powershell
Powershell throws this error
✔️ Expected Behavior
Powershell should work without throwing an error
❌ Actual Behavior
Powershell refuses to start up and crashes every time its opened
Other Software
Windows 10 version 22H2 (OS Build 19045.4412)
The text was updated successfully, but these errors were encountered: