I'm trying to upload the smart contract but getting this error. How to resolve this error?
// Add file to the IPFS 97 | ipfs.add(this.state.buffer, (error, result) => {
98 | console.log('IPFS result', result.size) | ^ 99 | if(error) { 100 | console.error(error) 101 | return