Search code examples
linuxubuntuethereumsolidity

solc --bin "faucet.sol" is not found


I try to compile my .sol file with solc --bin, but Terminal shows me "faucet.sol is not found". The problem is that file exist in that location. I try to move them to other directory, but effect is the same.

I'm just added a screenshot which presents operation which I tried to accomplish.

enter image description here

I will be very grateful for some hint.


Solution

  • Thanks for help. Solution is create a file in a root location ~ and run command

    sudo solc --bin faucet.sol