I just tried to run the EXERCISE
- Open a terminal in
developer-exercises
folder. - Enter the nix-shell by running:
nix-shell
3.You should run this in the folder containing the default.nix file* - Go to folder with the exercise
1.basic/0.zome-functions/exercise
- Compile and test your code:
cd tests && npm install && npm run build
. - Inspect the Rust compiler error
However the errors I’m getting aren’t expected.
First I’m getting a bunch of depreciation warnings including a "spurious network error: failed to mmap. could not write data: Permission denied; class-0s
Then there is an error - fild to get 'chrono; as a dependency of package 'exercise v0.0.1 () Caused by: failed to fetch ‘GitHub - rust-lang/crates.io-index: Registry index for crates.io’ Caused by: failed to mmap. could not write data: Permission denied; class-0s
npm ERR! code ELIFECYCLE
npm ERR! errno 101
npm ERR! demo-1@0.0.0 build: 'cd … && CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
npm ERR! Exit status 101
I’m on Windows with Ubuntu 20.24LS
I believe I followed all previous steps in Holochain Gym. Just wondering if the GYM exercises have been tested/ran in a Windows environment (because of the warnings makes me think maybe not)