#IO module not found

1 messages · Page 1 of 1 (latest)

jovial atlas
#

I am getting a module not found error when using the latest docker image ballerina/ballerina:2201.2.3 and the previous io version ballerina.io:1.2.2. if i upgrade to 1.3.0 the issue goes away.

#

@toxic bluff

#

I am working on this Bal test runner

#

you can see that when the io deps use 1.2.2 they will will throw an error

toxic bluff
#

I can reproduce this. Checking on it

jovial atlas
#

ack thank you!

toxic bluff
#

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.)