Skip to content

Import-Clixml Error when opening Terminal #126

Open
@Irtiza90

Description

@Irtiza90

Current Behavior

I get an error randomly when i open the terminal, it only gives an error at launch.

Error Message:

(yesterday, when i checked i received this error message)

Import-Clixml: Key for dictionary entry is not specified. Line 104, position 7.
InvalidOperation: Index operation failed; the array index evaluated to null.
Import-Clixml: 'Element' is an invalid XmlNodeType.
InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.

(this error i just received)

Import-Clixml: Value for dictionary entry is not specified. Line 109, position 21.
InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Cannot index into a null array.
InvalidOperation: Cannot index into a null array.
InvalidOperation: You cannot call a method on a null-valued expression.
InvalidOperation: You cannot call a method on a null-valued expression.

Steps to Reproduce (for bugs)

Opening the terminal randomly gives the error, sometimes i see the error, othertimes i don't.

The error doesn't seem to be causing any issues with the terminal, most probably just a visual error.

Your Environment

OS Version: Windows 10(22H2)
Terminal: Powershell 7.4.1
I'm using ohmyposh and Terminal-Icons powershell modules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions