#soroban-cli: soroban contract init <path> - error: Io error: No such file or directory (os error 2)

8 messages · Page 1 of 1 (latest)

jolly beacon
#

I try to use this (soroban contract init <path>) command but gives os error, path is valid, what is the problem?

soroban --version
soroban 20.3.0 (a59f5f421a27bab71472041fc619dd8b0d1cf902)
soroban-env 20.2.1 (18a10592853d9edf4e341b565b0b1638f95f0393)
soroban-env interface version 85899345920
stellar-xdr 20.1.0 (8b9d623ef40423a8462442b86997155f2c04d3a1)
xdr curr (b96148cd4acc372cc9af17b909ffe4b12c43ecb6)
half cradle
#

I'm getting the same error when I try to use it, as well. @sly lagoon Any suggestions?

sly lagoon
#

My guess is that some assets were not included in the published release. We can look into this more tomorrow. As a workaround, you clone the main branch and build it.

half cradle
#

Cool thanks for the workaround!

jolly beacon
#

Thanks @sly lagoon, will fix be distributed with new version soon? This is critical for our soroban cli gui project (grant)

sly lagoon
#

@jolly beacon still trying to troubleshoot. Did you try cloning soroban-tools and running cargo run -- contracts init ../path/to/new/project? It works for me.

marsh socket
jolly beacon
#

Thanks @marsh socket