Error when saving custom module

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.

Product: PowerShell Universal
Version: 5.1.2

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.

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

Thanks.