A drive with the name 'cache' does not exist

Has anyone seen this before?

Cannot find drive. A drive with the name 'cache' does not exist.
At E:\Powershell\ud-template-master\src\base.ps1:3 char:3
+   $cache:dataSource = 'IFVMESBSQL1'
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (cache:String) [], DriveNotFoundException
    + FullyQualifiedErrorId : DriveNotFound

It was working fine, but I’ve obviously done something to break it and can’t work out what it was!

Hi again @Alc

You are probably trying to declare a $cache variable before the UniversalDashboard module is loaded.

Try adding “import-module UniversalDashboard” at the top of your script and try again?