[英]solana-test-validator: No such file or directory panic
我正在尝试在本地运行 Solana rust hello world 示例( 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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.