hi there, I git clone the sns-testing repo to my local environment and run it step by step.
When I run
DX_NET_JSON=“${HOME}/.config/dfx/networks.json”
mkdir -p “$(dirname “${DX_NET_JSON}”)”
cp “$DX_NET_JSON” “${DX_NET_JSON}.tmp” 2>/dev/null # save original config if present
echo ‘{
“local”: {
“bind”: “0.0.0.0:8080”,
“type”: “ephemeral”,
“replica”: {
“subnet_type”: “system”,
“port”: 8000
}
}
}’ > “${DX_NET_JSON}”
sudo ./bin/dfx start --clean;
mv “${DX_NET_JSON}.tmp” “$DX_NET_JSON” 2>/dev/null # restore original config if it was present
it can work, and print:
then I follow the next instruction, open another command line, and input “bash setup_locally.sh”, it downloads a lot of wasm files, but failed on “dfx nns import”:
So, did I make a wrong step anywhere?