devblackops / Terminal-Icons

A PowerShell module to show file and folder icons in the terminal
MIT License
2.34k stars 105 forks source link

Import-Module error #133

Open nousx opened 1 month ago

nousx commented 1 month ago

how to fix it

image ![image](https://github.com/devblackops/Terminal-Icons/assets/46619078/9fcc599b-e1a5-4a50-8a32-f17e16595bb0

mattcargile commented 2 weeks ago

I have seen this bug before. I want to say it is related to this issue I put in.

https://github.com/PowerShell/vscode-powershell/issues/3886

It comes down to $env:PSModulePath across pwsh.exe and powershell.exe.

Workaround is to restart the session.

EDIT: I might be way off. It might be a language issue on Windows. See https://github.com/devblackops/Terminal-Icons/issues/125 and https://github.com/devblackops/Terminal-Icons/issues/77