Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vue warn]: Invalid watch source at StoryblokRichText since v8.1.5 #768

Open
1 task done
codeflorist opened this issue Nov 8, 2024 · 0 comments
Open
1 task done
Labels
pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised

Comments

@codeflorist
Copy link

Describe the issue you're facing

After upgrading the packages in my Nuxt installation, i'm getting these warnings regarding the StoryblokRichtext component:

WARN  [Vue warn]: Invalid watch source:  undefined A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types. 
  at <StoryblokRichText doc= { type: 'doc', content: [ { type: 'paragraph', content: [Array] } ] } > 
  at <Index onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > 
...

I've pinpointed the problem to the v8.1.5 release of @storyblok/vue.

Putting "@storyblok/vue": "8.1.4" in package.json solves the problem.

Reproduction

https://stackblitz.com/edit/nuxt-3-quickstart-demo-wb1d4w?file=pages%2Findex.vue

Steps to reproduce

No response

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm

Used Package Manager

npm

Error logs (Optional)

No response

Validations

@codeflorist codeflorist added pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised
Projects
None yet
Development

No branches or pull requests

1 participant