Could not add Document to [collectionName] collection.
GuyTito opened this issue · comments
Are you using Localbase with vue.js 3 composition-Api?
I'm not using composition API. And i found out that it's not a Localbase problem. It also gave that error when I used the vanilla indexdDb API. I don't know the reason why but I came across a solution by using JSON.parse(JSON.stringify({object})) inside the Localbase methods.
@GuyTito Can you explain the solution again?
I am getting the error at this point of the tutorial https://youtu.be/KJnupY2HPCg?t=522