badmotorfinger / z

Save time typing out directory paths in PowerShell by jumping around instead.
The Unlicense
434 stars 33 forks source link

System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression. #65

Closed yahiaAz201 closed 7 months ago

yahiaAz201 commented 7 months ago

i was using it without any problem, now am having this annoying error any help ?

image

badmotorfinger commented 7 months ago

Hi, I am currently away for a few says. Will reply end of week 👍

-------- Original Message -------- On 22/4/24 8:30 am, yahiaAz201 wrote:

i was using it without any problem, now am having this annoying error any help ?

image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

badmotorfinger commented 7 months ago

@yahiaAz201 - If this has been working and then it suddenly stopped, then something has changed. My best guess here is that another powershell module you recently installed perhaps broke it, but I'm not sure.

Are you aware of any recent changes to your system? PowerShell updates perhaps or even windows updates?

yahiaAz201 commented 7 months ago

no i didn't install any powershell module

badmotorfinger commented 7 months ago

This is currently not an issue on any other system.

My suggestion here is, disable all modules except for z. See if it works, if it does, then slowly re-enable other modules one by one until you find the conflicting module.