Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create task: Error: spawn #105

Open
tjchern opened this issue Jan 8, 2019 · 3 comments
Open

Cannot create task: Error: spawn #105

tjchern opened this issue Jan 8, 2019 · 3 comments

Comments

@tjchern
Copy link

tjchern commented Jan 8, 2019

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

@hswick
Copy link
Contributor

hswick commented Jan 8, 2019

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.

@cryptoartsy
Copy link

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!

@teutsch
Copy link
Contributor

teutsch commented Jan 16, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants