VSCode Unable to Open Dashboards and Scripts

I’m having a weird issue with VS Code. It started today, whenever I open VS Code it just loads and it never finishes. I’m not sure if it has anything to do with it but I also get a notification to update to the newest version of PSU. If I click ‘Download’ it immediately stops loading and it shows all my Dashboards and Scripts. Unfortunately, if I try to open any of them I get the following message:

ENOENT: no such file or directory, open ‘C:\Users\User\AppData\Local\Temp.universal.code.script\Folder\File.ps1’. This is likely caused by the extension that contributes powershell-universal.editScript.

When looking through the logs I get a lot of these:

CORS policy execution failed. (09b6f179)
Request origin “http://localhost:5000” does not have permission to access the resource. (a03d560b)

Product: PowerShell Universal
Version: 1.4.6

You will need to roll back to a previous version of the PSU VS Code. The new extension requires REST APIs that were added in PSU 1.5. The ability to edit configuration files over HTTP was added in that version and are not part of 1.4.6.

I apologize for the confusion. I have 3 versions of PSU installed:

  1. Local computer - 1.4.6
  2. Dev Server - This is the one that’s broken. VS Code version 1.7.3. PSU version 1.5.3 as shown in admin console.
  3. Hosting Server - PSU 1.5.7

I had to roll back the VS Code extension all the way to 1.6.1. PSU is still 1.5.3.