truebit-os icon indicating copy to clipboard operation
truebit-os copied to clipboard

Cannot create task: Error: spawn

Open tjchern opened this issue 6 years ago • 3 comments

I run the test: npm run test

error info below: Normal task lifecycle 2019-01-08 17:38:21 [console] info: Task Giver initialized 2019-01-08 17:38:21 [console] info: Solver initialized at block 4652 2019-01-08 17:38:21 [console] info: Verifier initialized 2019-01-08 17:38:22 [console] info: Executing: ./../wasm-client/ocaml-offchain/interpreter/wasm -m -disable-float -input -file reverse_alphabet.txt -file alphabet.txt -wasm reverse_alphabet.wasm

2019-01-08 17:38:22 [console] error: Cannot create task: Error: spawn ./../wasm-client/ocaml-offchain/interpreter/wasm ENOENT

how to resolve it ? thank you

tjchern avatar Jan 08 '19 09:01 tjchern

It looks like you don't have the offchain interpreter installed.

Running these scripts will fix it: npm run fixperms npm run deps

This script is assuming you are running a debian based linux.

hswick avatar Jan 08 '19 16:01 hswick

I run the test: npm run test

error info below: Normal task lifecycle 2019-01-08 17:38:21 [console] info: Task Giver initialized 2019-01-08 17:38:21 [console] info: Solver initialized at block 4652 2019-01-08 17:38:21 [console] info: Verifier initialized 2019-01-08 17:38:22 [console] info: Executing: ./../wasm-client/ocaml-offchain/interpreter/wasm -m -disable-float -input -file reverse_alphabet.txt -file alphabet.txt -wasm reverse_alphabet.wasm

2019-01-08 17:38:22 [console] error: Cannot create task: Error: spawn ./../wasm-client/ocaml-offchain/interpreter/wasm ENOENT

how to resolve it ? thank you

@tjchern Where you able to solve the problem with @hswick's suggested changes? Also, What are you building? Happy to help you out!

cryptoartsy avatar Jan 16 '19 16:01 cryptoartsy

@hswick, please let us know when the new stable version is available on Master

teutsch avatar Jan 16 '19 19:01 teutsch