Could not add Document to [collectionName] collection.
Closed this issue · 3 comments
GuyTito commented
moha5145 commented
Are you using Localbase with vue.js 3 composition-Api?
GuyTito commented
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.
tobiornottobi commented
@GuyTito Can you explain the solution again?
I am getting the error at this point of the tutorial https://youtu.be/KJnupY2HPCg?t=522