Hello Guys
I’m trying to use Moralis in a project, but get this error:
TypeError: Cannot read properties of undefined (reading ‘utils’)
at recentlyPutForSale (discover.js:426:31)
when I replaced in function
let priceInEth = web3.utils.fromWei(price, 'ether');
to
let priceInEth = 3;
it`s work,
I have tried this code,
let priceInEth = web3.utils.fromWei('1', 'ether');
but this does not work
Does anybody know how to fix this issue I’m having ?