Error when saving custom module

Error when saving custom module

avatar
(anonymous user)

Often when I save the module I’m coding ( Platform > Modules > Repository Modules), It throws an error similar to below. The only thing that triggered this particular error was adding a blank line in the code. But seems like saving causes similar error frequently. Sometimes it still saves code when I come back, and then will allow me to save work normally for a while, until errors out again.



f979740d64ad55b6fc5f446870d3f6f4c1bdd3b7

Product: PowerShell Universal
Version: 5.1.2


f979740d64ad55b6fc5f446870d3f6f4c1bdd3b7.jpeg

All Comments (2)

avatar

I ran into this myself and it should be resolved in v5.2. In the meantime, you can work around this by using the editor in Settings \ Files to edit the module files directly.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

avatar

ok. But now I see “Settings\Files” requires a license. I’m still evaluating so will have to wait for 5.2.

Thanks.