I am using Ubuntu 18.04 LTS.
I am trying to deploy a smart contract, following a Steemit post but I am getting an error that I don't really understand.
I have run nodeos according to the the Eos developer forum.
In terminal:
$ keosd &
nodeos -e -p eosio \
--plugin eosio::producer_plugin \
--plugin eosio::chain_api_plugin \
--plugin eosio::http_plugin \
--plugin eosio::history_plugin \
--plugin eosio::history_api_plugin \
--data-dir CONTRACTS_DIR/eosio/data \
--config-dir CONTRACTS_DIR/eosio/config \
--access-control-allow-origin='*' \
--contracts-console \
--http-validate-host=false \
--verbose-http-errors \
--filter-on='*' >> nodeos.log 2>&1 &
It works fine. I then successfully created an account using public key.
The problem is that cleos is not usable anymore after I created an account.
I am following a Steemit post as I mentioned above, and it asks me to create another account using the same public key.
I'm now getting the following error everytime use a cleos command:
usr/bin/cleos no such file or directory
Cleos worked fine just perfectly before I created an account, why is this happening?