and run the command npm test, it ends with this message:
[tryorama] error: Test error: 'Error: Timed out in 30000ms: zome_call_invocation\n' +
' at Timeout.<anonymous> (/home/admin/happ-build-tutorial/tests/node_modules/@holochain/conductor-api/src/websocket/common.ts:16:14)\n' +
' at listOnTimeout (internal/timers.js:554:17)\n' +
' at processTimers (internal/timers.js:497:7)'
not ok 1 Test threw an exception. See output for details.
---
operator: fail
at: <anonymous> (/home/admin/happ-build-tutorial/tests/node_modules/@holochain/tryorama/src/middleware.ts:137:13)
stack: |-
Error: Test threw an exception. See output for details.
at Test.assert [as _assert] (/home/admin/happ-build-tutorial/tests/node_modules/tape/lib/test.js:304:54)
at Test.bound [as _assert] (/home/admin/happ-build-tutorial/tests/node_modules/tape/lib/test.js:91:32)
at Test.fail (/home/admin/happ-build-tutorial/tests/node_modules/tape/lib/test.js:398:10)
at Test.bound [as fail] (/home/admin/happ-build-tutorial/tests/node_modules/tape/lib/test.js:91:32)
at /home/admin/happ-build-tutorial/tests/node_modules/@holochain/tryorama/src/middleware.ts:137:13
@Ben can you check this issue to see if matches yours?
does yours show this message at all?
ZomeError(ZomeNotFound(“Zome ‘numbers’ not found”))’
I’ve just mentioned to the person who raised that issue that I’ve just gone through the happ-build-tutorial myself again, from fresh start, and found the tests passing. We need to know what’s different that you did than what I did. For starters, I’m on a mac, but I doubt that it’s an operating system thing since we’re using nix-shell.
I also checked Holochain Gym, but I’m afraid the basic exercise are beyond my skills…
I’m trying to have any demo of Holochain app running to make it the technology used for my next project…(still on research)
But so far all my attempted of install a happ ends with a failed…Not easy to get a demo run
Here are some of my attempted posted on the forum:
thread 'holochain-tokio-thread' panicked at 'TODO: ZomeError(ZomeNotFound("Zome \'numbers\' not found"))', /tmp/nix-build-holochain.drv-0/source/crates/holochain/src/core/ribosome.rs:339:14
I retried the tutorial (2 different ways):
. git clone and straight to step 5
. git clone and all the steps
both end again with the same message…when I run npm test
thread 'holochain-tokio-thread' panicked at 'TODO: ZomeError(ZomeNotFound("Zome \'numbers\' not found"))', /tmp/nix-build-holochain.drv-0/source/crates/holochain/src/core/ribosome.rs:339:14
Just for information on step 3 :
hc dna pack dna-folder
Add issue with the path…it expected the folder target in the folder-dna…so simply copy the target folder to dna-folder solved the issue…
yes I was in nix-shell.
run the two hc commands on the folder mentioned above ended again with same message…
So I re-tried from scratch:
git clone holochain/happ-build-tutorial.git
cd happ-build-tutorial
nix-shell
rm -fr .git
cd tests && npm install
npm test
This time the test passed !
Then I run the happ in sandbox and it successfully connected to a running holochain…But it is just with the built files…I will now try again from step 1 to step 5
hey, I’m trying to learn how to build a smart contract app using holochain. But I’m a bit lost as I’ve only found tutorials for Rust with blockchain based tech. Any guidance or if anyone is interested in partnering up, that’d be highly appreciated.
Cheers