From 61d340a25e384f78397616e7a75181741ebb55da Mon Sep 17 00:00:00 2001 From: Thomas Ettorre IV Date: Wed, 25 Sep 2024 04:05:04 -0400 Subject: [PATCH 1/3] Update running-a-node-windows.md added sudo command to fix error "fatal: could not create work tree dir" --- docs/validator/running-a-node-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/validator/running-a-node-windows.md b/docs/validator/running-a-node-windows.md index e60e0e1..bdc389c 100644 --- a/docs/validator/running-a-node-windows.md +++ b/docs/validator/running-a-node-windows.md @@ -92,7 +92,7 @@ The README for `nearup` (linked above) may be **all you need to get a node up an You’ll get something like this: "1.13.0-rc.2". "1.13.0" is a branch which we need to clone to build our node for `testnet`. ```sh - git clone --branch 1.13.0 https://github.com/near/nearcore.git + sudo git clone --branch 1.13.0 https://github.com/near/nearcore.git ``` 12. This created a nearcore directory, change into that one and build a noce: ```sh From f84a7b5cb90ec8a15531b9bb3a310830d4a5f1c0 Mon Sep 17 00:00:00 2001 From: Thomas Ettorre IV Date: Wed, 25 Sep 2024 04:21:31 -0400 Subject: [PATCH 2/3] Update running-a-node-windows.md make release --- docs/validator/running-a-node-windows.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/validator/running-a-node-windows.md b/docs/validator/running-a-node-windows.md index bdc389c..a26dd45 100644 --- a/docs/validator/running-a-node-windows.md +++ b/docs/validator/running-a-node-windows.md @@ -87,6 +87,7 @@ The README for `nearup` (linked above) may be **all you need to get a node up an First we need to check a version which is currently working in `testnet`: ```sh + sudo chmod 644 /nearcore curl -s https://rpc.testnet.near.org/status | jq .version ``` You’ll get something like this: "1.13.0-rc.2". "1.13.0" is a branch which we need to clone to build our node for `testnet`. @@ -97,7 +98,7 @@ The README for `nearup` (linked above) may be **all you need to get a node up an 12. This created a nearcore directory, change into that one and build a noce: ```sh cd nearcore - make neard + make release ``` 13. Install nearup ```sh From e632b33361ad17fe406d428d44d8e2d7c64cb03b Mon Sep 17 00:00:00 2001 From: Thomas Ettorre IV Date: Wed, 25 Sep 2024 04:28:24 -0400 Subject: [PATCH 3/3] Update running-a-node-windows.md --- docs/validator/running-a-node-windows.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/validator/running-a-node-windows.md b/docs/validator/running-a-node-windows.md index a26dd45..2b55c09 100644 --- a/docs/validator/running-a-node-windows.md +++ b/docs/validator/running-a-node-windows.md @@ -93,10 +93,22 @@ The README for `nearup` (linked above) may be **all you need to get a node up an You’ll get something like this: "1.13.0-rc.2". "1.13.0" is a branch which we need to clone to build our node for `testnet`. ```sh + sudo chown [user] /nearcore sudo git clone --branch 1.13.0 https://github.com/near/nearcore.git ``` + error: failed to get `chrono` as a dependency of package `near-chain-configs v0.1.0 (/home/dea/nearcore/core/chain-configs)` + +Caused by: + failed to fetch `https://github.com/rust-lang/crates.io-index` + ``` + git clone https://github.com/rust-lang/crates.io-index + ``` +Caused by: + error reading from the zlib stream; class=Zlib (5) +make: *** [Makefile:5: release] Error 101 12. This created a nearcore directory, change into that one and build a noce: ```sh + cd nearcore make release ```