Trying to send test ether from my Ganache account[0] to metamask account but getting this error
truffle(develop)> web3.eth.sendTransaction({to: "0x8C9ad9Ff0655Db057317FDd37B4aabcC5411E87D", from:accounts[0], value: web3.utils.toWei("2", "ether")});11E87D", from:accounts[0], value: web3.utils.toWei("2", "ether")});
Uncaught Error: Returned error: sender account not recognized
Environment
Truffle v5.1.56 (core: 5.1.56)
Solidity v0.5.16 (solc-js)
Node v12.19.0
Web3.js v1.2.9
Details
Code to reproduce