I'm trying to build lucid to connect with cardano smartcontract from scratch using webpack, but I always getting this error related to datum data
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'Symbol(TypeBox.Modifier)'
this error referring to this datum data
const VestingDatum = L.Data.Object({
beneficiary: L.Data.String,
deadline: L.Data.BigInt
});
the error is gone when I deleting this VestingDatum but the script still not working because it need the VestingDatum data , am I missing something ? and how to solve this problem ?