-
-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
hello everyone i am getting this error in pwsh , sorry not much familiar with windows terminal
Import-PowerShellDataFile : The term 'Import-PowerShellDataFile' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\LazyCode\Documents\PowerShell\Modules\Terminal-Icons\0.11.0\Terminal-Icons.psm1:210 char:33
+ $hash.Add($_.Basename, (Import-PowerShellDataFile $_.FullName ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Import-PowerShellDataFile:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Import-PowerShellDataFile : The term 'Import-PowerShellDataFile' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\LazyCode\Documents\PowerShell\Modules\Terminal-Icons\0.11.0\Terminal-Icons.psm1:196 char:22
+ $colorData = Import-PowerShellDataFile $_.FullName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Import-PowerShellDataFile:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Index operation failed; the array index evaluated to null.
At C:\Users\LazyCode\Documents\PowerShell\Modules\Terminal-Icons\0.11.0\Terminal-Icons.psm1:197 char:9
+ $hash[$colorData.Name] = $colorData
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArrayIndex
Index operation failed; the array index evaluated to null.
At C:\Users\LazyCode\Documents\PowerShell\Modules\Terminal-Icons\0.11.0\Terminal-Icons.psm1:198 char:9
+ $hash[$colorData.Name].Types.Directories[''] = $colorReset
Metadata
Metadata
Assignees
Labels
No labels