eos icon indicating copy to clipboard operation
eos copied to clipboard

Error 3160009: No wast file found

Open li3365 opened this issue 8 years ago • 8 comments

I use latest eosio/eos-dev docker images ,and jungletestnet http://jungle.cryptolions.io:18888 with helloworld contract,meet following errors:

cleos set contract helocode1234 ./helo -p helocode1234@active Reading WASM from ./helo/helo.wasm... Error 3160009: No wast file found Error Details: no wasm file found ./helo/helo.wasm

but these files do exist: ls ./helo/ helo.abi helo.cpp helo.wasm helo.wast

why?

li3365 avatar Aug 21 '18 08:08 li3365

That issue is under mac book air.now I use docker image under ubuntu ,It worked .strange.

li3365 avatar Aug 21 '18 14:08 li3365

Be sure to update your docker images. Older versions did have problems locating contract files.

jgiszczak avatar Aug 21 '18 16:08 jgiszczak

Having the same issue... This should not be closed for 1.2.5 branch.

Panoplos avatar Sep 23 '18 01:09 Panoplos

Has anyone solved this?

rohanagarwal94 avatar Oct 04 '18 20:10 rohanagarwal94

@jgiszczak please reopen this issue.

rohanagarwal94 avatar Oct 04 '18 20:10 rohanagarwal94

tg://join?invite=Esi1OkPktgcFeJ3Lmlcrqg. Join this, and see the chat history to get the solution.

rohanagarwal94 avatar Oct 04 '18 23:10 rohanagarwal94

See this post for how to use the docker volume command to set up a mapping between the docker and host filesystems. It's one of several possible options for making the jump between the two. The documentation is being updated. Its explanations for working with the docker environment are definitely inadequate.

Note the eosio.cdt toolchain no longer generates .wast files at all. If you wish a wast file, you'll need to run the converter on the wasm file yourself.

jgiszczak avatar Oct 05 '18 18:10 jgiszczak

To anyone encountering this with the latest version, try to use an absolute path instead (e.g. /bla/bla, not ./bla/bla).

itamarro avatar Nov 08 '18 22:11 itamarro