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