您正在查看: EOS-新手问答 分类下的文章

eos fatal: destination path ‘llvm’ already exists and is not an empty directory

如果编译EOS出现以下错误

 Checking for LLVM with WASM support.
        Installing LLVM & WASM
fatal: destination path 'llvm' already exists and is not an empty directory.
        Unable to clone llvm repo @ https://github.com/llvm-mirror/llvm.git.
        Exiting now.

解决方案

cd /opt 
rm -rf llvm
cd /tmp
root@DESKTOP-H6EG47U:/tmp# rm -rf llvm-compiler/


ERROR: Either --buy-ram or --buy-ram-kbytes with non-zero value is required

执行代码

cleos system newaccount eosio dapp.exec2 EOS7D6Kdkugbg6ACgrGg17yPhDWXDbfHZfVcSmez84ph94NGsf2F6 EOS7D6Kdkugbg6ACgrGg17yPhDWXDbfHZfVcSmez84ph94NGsf2F6  --stake-net '50.00 SYS' --stake-cpu '50.00 SYS'

提示
ERROR: Either --buy-ram or --buy-ram-kbytes with non-zero value is required

在命令行尾部添加 --buy-ram-kbytes 10000

cleos system newaccount eosio dapp.exec2 EOS7D6Kdkugbg6ACgrGg17yPhDWXDbfHZfVcSmez84ph94NGsf2F6 EOS7D6Kdkugbg6ACgrGg17yPhDWXDbfHZfVcSmez84ph94NGsf2F6  --stake-net '50.00 SYS' --stake-cpu '50.00 SYS' --buy-ram-kbytes 10000