I've been following the tutorial in ethereuembook. I created a contract called faucet.sol
in the browser directory of Remix IDE. The contract compiled successfully. However, when trying to deploy (in both Javascript VM and injected web3 environment with metamask), I'm getting the following error,
creation of faucet errored: Please select the folder in the file explorer where the metadata of faucet can be found
Not able to figure out how can I generate this metadata and select the folder in file explorer.
You have to have the contract open in a tab.
Click in "File Explorers" icon (see image below)
Click in your contract to open in a tab
Click in "Deploy & Run Transactions" icon
Click in "Deploy" button