Can't save ballerina code create using composer

117 Views Asked by At

when I try to save ballerina code create using composer flowing error occur.

SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL

How I solve this problem?

2

There are 2 best solutions below

0
On

recheck environment variable for ballerina bin path.

0
On

This might be due to the file service connection being closed by the OS after being idle for sometime. This connection closing can happen unexpectedly and if the issue reproduces frequently, please create an issue at composer issues