solana-test-validator:没有这样的文件或目录panic



我试图在本地运行Solana rust helloworld示例(https://github.com/solana-labs/example-helloworld)。我看了一下自述文件,但是"启动本地Solana集群"这一步;(https://github.com/solana-labs/example-helloworld#start-local-solana-cluster)不适合我。我收到thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', validator/src/bin/solana-test-validator.rs:294:71错误。

我的solana-test-validator版本是1.7.9

这是我的config.yml文件:
Config File: /home/work/.config/solana/cli/config.yml
RPC URL: http://127.0.0.1:8899 
WebSocket URL: ws://127.0.0.1:8900/ (computed)
Keypair Path: /home/work/.config/solana/id.json 
Commitment: confirmed

你知道怎么回事吗?或者我应该修复/检查什么?

我安装了一个稳定的版本来解决它:sh -c "$(curl -sSfL https://release.solana.com/stable/install)"

尝试将CD放入solana目录下的验证器文件夹然后运行。/solana-test-validator

最新更新