#IO module not found
1 messages · Page 1 of 1 (latest)
@toxic bluff
I am working on this Bal test runner
if you pull down the repo and run the tests: https://github.com/vordimous/ballerina-test-runner#run-the-tests
you can see that when the io deps use 1.2.2 they will will throw an error
I can reproduce this. Checking on it
ack thank you!
Checked and the reason is that the docker container is not connected to the internet. To elaborate, the 2201.2.2 and 2201.2.3 distributions are shipped with ballerina/io:1.3.0 and so since the locked ballerina/io:1.2.2 version is not available locally, the compiler tries to fetch it from the Ballerina Central. Since the docker image is not connected to the internet, the package is not resolved and hence the errors. Updating to ballerina/io:1.3.0 works because this is available locally (in the distribution.)
Changing the line https://github.com/vordimous/ballerina-test-runner/blob/main/bin/run-tests-in-docker.sh#L24 to --network host \ will resolve the issue.