Skip to content

Instantly share code, notes, and snippets.

@geoidesic
Created November 26, 2020 11:42
Show Gist options
  • Save geoidesic/046c47a2c9e6454a5a9edcb25646e55d to your computer and use it in GitHub Desktop.
Save geoidesic/046c47a2c9e6454a5a9edcb25646e55d to your computer and use it in GitHub Desktop.
Problem with sync from pouchDB
vue.runtime.esm.js?5593:619 [Vue warn]: Error in v-on handler: "TypeError: target.once is not a function"
found in
---> <QBtn>
<PouchDBExample>
<QPageContainer>
<QLayout>
<StorybookLayout> at src/layouts/Storybook.vue
<App> at src/App.vue
<Root>
warn @ vue.runtime.esm.js?5593:619
logError @ vue.runtime.esm.js?5593:1884
globalHandleError @ vue.runtime.esm.js?5593:1879
handleError @ vue.runtime.esm.js?5593:1839
invokeWithErrorHandling @ vue.runtime.esm.js?5593:1862
invoker @ vue.runtime.esm.js?5593:2179
invokeWithErrorHandling @ vue.runtime.esm.js?5593:1854
Vue.$emit @ vue.runtime.esm.js?5593:3888
click @ QBtn.js?9c40:150
invokeWithErrorHandling @ vue.runtime.esm.js?5593:1854
invoker @ vue.runtime.esm.js?5593:2179
original._wrapper @ vue.runtime.esm.js?5593:6917
vue.runtime.esm.js?5593:1888 TypeError: target.once is not a function
at Replication.ready (index-browser.es.js?db2f:9982)
at replicate (index-browser.es.js?db2f:9492)
at Function.replicateWrapper [as replicate] (index-browser.es.js?db2f:10023)
at Object.to (index-browser.es.js?db2f:10249)
at VueComponent.sync (pouchdb.vue?9bc3:67)
at invokeWithErrorHandling (vue.runtime.esm.js?5593:1854)
at VueComponent.invoker (vue.runtime.esm.js?5593:2179)
at invokeWithErrorHandling (vue.runtime.esm.js?5593:1854)
at VueComponent.Vue.$emit (vue.runtime.esm.js?5593:3888)
at VueComponent.click (QBtn.js?9c40:150)
logError @ vue.runtime.esm.js?5593:1888
globalHandleError @ vue.runtime.esm.js?5593:1879
handleError @ vue.runtime.esm.js?5593:1839
invokeWithErrorHandling @ vue.runtime.esm.js?5593:1862
invoker @ vue.runtime.esm.js?5593:2179
invokeWithErrorHandling @ vue.runtime.esm.js?5593:1854
Vue.$emit @ vue.runtime.esm.js?5593:3888
click @ QBtn.js?9c40:150
invokeWithErrorHandling @ vue.runtime.esm.js?5593:1854
invoker @ vue.runtime.esm.js?5593:2179
original._wrapper @ vue.runtime.esm.js?5593:6917
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment