Just been following your instructions below, but I got a permission denied error message (below), any ideas?
“dellams@DESKTOP-CEETMKE:~$ git clone git@github.com:holochain/holochain.git
Cloning into ‘holochain’…
The authenticity of host ‘github.com (140.82.121.4)’ can’t be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type ‘yes’, ‘no’ or the fingerprint: yes
Warning: Permanently added ‘github.com,140.82.121.4’ (RSA) to the list of known hosts. git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.”
Also, I installed Nix as per the instructions in the link below, but when I run “nix-shell” I get this error message:
“dellams@DESKTOP-CEETMKE:~$ nix-shell
error: getting status of ‘/home/dellams/default.nix’: No such file or directory”
I am using WSL2 on Windows 10, which worked fine for the previous hc with holocain.love. I presume that still points to the redux version? When will it be updated to the new version do you think?
Keep up the great work, really impressed with the new version and keen to upgrade HoloNET .NET/Unity client & .NET HDK to it along with my other hc code… thanks
@dellams I’m not sure why you would get that git/ssh error, but I’d recommend just try cloning from the https version of the URL… git clone https://github.com/holochain/holochain.git
Then, with nix, you have to run nix-shell INSIDE the holochain directory. So first cd holochain
"dellams@DESKTOP-CEETMKE:~/holochain$ nix-shell
unpacking ‘https://github.com/holochain/holonix/tarball/v0.0.83’…
error: Package ‘ngrok-2.3.29’ in /nix/store/h8yv9z8l0fqfbas6wdwy7lzagnpwqg3v-source/pkgs/tools/networking/ngrok-2/default.nix:43 has an unfree license (‘unfree’), refusing to evaluate.
a) For nixos-rebuild you can set
{ nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.
b) For nix-env, nix-build, nix-shell or any other Nix command you can add
{ allowUnfree = true; }
to ~/.config/nixpkgs/config.nix."
But I cannot see any configuration.nix, where is this file? I am surprised it doesn’t just work? Thanks.
test result: FAILED. 185 passed; 2 failed; 21 ignored; 0 measured; 0 filtered out
error: test failed, to rerun pass ‘-p holochain --lib’
Neither did the elemental-chat tests succeed! (Possibly due to the above)
Has all this got anything to do with the tryorama update going on???
Side question: Is the Holochain RSM’s develop branch to be trusted or the main branch? When might we have a (pre)release branch??? ‘develop’ rather sounds like it’s under development and possibly doesn’t compile!
What version is RSM currently at? I got it all installed but when I checked the version it came back with hc 0.0.51-alpha1? That looks like Redux version? Bit confused because I downloaded the RSM one as instructed… I will try it again just in case… hmmmm… odd.
Anyways, any idea how to init/create a fresh new RSM happ??? Is it hc-happ-create??? Or hc init??? And yeah, as @dellams pointed out, “hc --version” does return 0.0.51-alpha! Kinda strange… And “holochain” command doesn’t have an init!
Why I don’t feel safe continuing with RSM until it is ready to be used… clearly it is not… unless someone can convince me it is fine to use now? What version is RSM? None of this makes sense… need clarity please… thanks.
@dellams if you were following my last set of pointers, but forgot hc-install then you’d still see the old holochain version.
hc-install inside the holochain/holochain nix-shell will overwrite the old version of holochain that is still currently in holonix, but is likely to be removed really soon.
If you have stable rust installed locally, you could also run two commands very similar to these ones, found in this little ‘install script’ that is in use for a CI setup.
...
running 1 test
test core::ribosome::slow_tests::warm_wasm_tests ... FAILED
In detail:
failures:
---- core::ribosome::slow_tests::warm_wasm_tests stdout ----
Fixturator seed: 1329776636451767664
thread 'core::ribosome::slow_tests::warm_wasm_tests' panicked at 'Wasm: "/home/theaman/holochain/.wasm_target/wasm32-unknown-unknown/release/test_wasm_imports.wasm" was not found. Maybe you need to build the test wasms
Run `cargo build --features 'build_wasms' --manifest-path=crates/holochain/Cargo.toml`
or pass the feature flag to `cargo test`