命令 'near' 未找到
Command 'near' not found
我正在使用这些说明为帐户(测试网)生成 public 和私钥以进行一些测试交易。
https://docs.near.org/docs/tokens/token-custody#option-2-self-custody
我运行终端上的这个命令
npm install -g near-cli
然后这个命令生成密钥
near generate-key dummyaccount.testnet
但是它说
Command 'near' not found
知道我在这里遗漏了什么(抱歉刚开始做这件事)。
npm 7.23.0
节点 12.18.2
你做过吗?:
“If Node modules are installed in a place inaccessible by your OS
user, you need to do chown -R $USER /path/to/destination/
or the
equivalent on your OS.”
https://docs.near.org/docs/tokens/token-custody#to-generate-public-keys-via-cli
我正在使用这些说明为帐户(测试网)生成 public 和私钥以进行一些测试交易。
https://docs.near.org/docs/tokens/token-custody#option-2-self-custody
我运行终端上的这个命令
npm install -g near-cli
然后这个命令生成密钥
near generate-key dummyaccount.testnet
但是它说
Command 'near' not found
知道我在这里遗漏了什么(抱歉刚开始做这件事)。
npm 7.23.0 节点 12.18.2
你做过吗?:
“If Node modules are installed in a place inaccessible by your OS user, you need to do
chown -R $USER /path/to/destination/
or the equivalent on your OS.”
https://docs.near.org/docs/tokens/token-custody#to-generate-public-keys-via-cli