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