Robert Cain diagnoses a weird issue:
I was having a weird problem with PowerShell, while working on my ArcaneBooks project. I would install a module, and it would work fine at first. I could see the module when I used
Get-Module -ListAvailable
, and use it.The problem occurred when I closed the terminal (whether the Windows Terminal or in VSCode), then reopened it. The module had vanished! It was no longer there, I would get an error if I tried to import it, and
Get-Module -ListAvailable
would no longer show it. I could reinstall, it’d be there, but again when I closed the terminal and reopened it would be gone.
Read on to learn what OneDrive was doing and how Robert at least got it to stop doing that.
Comments closed