I have followed the instructions for setting up my windows based computer but when I try to initialize WebAssembly build environment from powershell with
make init
show this error:
./scripts/init.sh
process_begin: CreateProcess(NULL, env bash D:\Blockchain-substrate\substrate-node-template\scripts\init.sh, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:3: init] Error 2
The init.sh file contain
#!/usr/bin/env bash
set -e
echo "*** Initializing WASM build environment ***"
if [ -z $CI_PROJECT_NAME ] ; then
rustup update nightly
rustup update stable
fi
rustup target add wasm32-unknown-unknown --toolchain nightly
The installed toolchains seems to be fine
stable-x86_64-pc-windows-msvc
nightly-2020-10-01-x86_64-pc-windows-msvc
nightly-2021-03-15-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc (default)
installed targets for active toolchain
--------------------------------------
wasm32-unknown-unknown
x86_64-pc-windows-msvc
active toolchain
----------------
nightly-x86_64-pc-windows-msvc (default)
rustc 1.52.0-nightly (107896c32 2021-03-15)
I have read everything that google could bring with my queries but no solved it, so I would appreciate your help