ironmansoftware / universal-automation

Universal Automation is the PowerShell-first automation platform.
https://ironmansoftware.com/universal-automation/
MIT License
24 stars 4 forks source link

Cannot edit a script once uploaded #106

Closed adamdriscoll closed 4 years ago

adamdriscoll commented 4 years ago

I uploaded a script and now when I go to the view page and press the edit button nothing happens. Dev tools shows the following messages:

At startup:

serviceWorker.ts:105 Error during service worker registration: TypeError: Failed to register a ServiceWorker for scope ('file:///C:/Users/gpduck/AppData/Local/UniversalAutomationDesktop/app-1.0.0/resources/app/.webpack/renderer/main_window/undefined/') with script ('file:///C:/Users/gpduck/AppData/Local/UniversalAutomationDesktop/app-1.0.0/resources/app/.webpack/renderer/main_window/undefined/service-worker.js'): An unknown error occurred when fetching the script.

And then I've attached the errors from clicking the view button as the stack trace is a bit verbose. No additional errors are generated when clicking the edit button.

I checked and my renderer/main_window/ folder only has index.html, index.js, and index.js.map in it.

adamdriscoll commented 4 years ago

Resolved in next version.