truebit-os
truebit-os copied to clipboard
Cannot create task: Error: spawn
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
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.
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!
@hswick, please let us know when the new stable version is available on Master