Unable to upgrade to vue 2.7.8

Hi,

When I try to upgrade the vue package from 2.6.14 to 2.78, my application stops working.

I get on the console, the following error:

[Vue warn]: Error in created hook: "TypeError: Cannot read properties of undefined (reading 'find')"

found in

---> <App>
       <Root>

The source code is the following:

export default {

  meteor: {
    $subscribe: {
      notifications: []
    },

    notifications() {
      return Notifications.find({});
   }

did someone already upgrade to 2.7.8?

Thanks

2 Likes

Thanks for your post! I was just trying to get back up and running with Vue.js + Meteor last night and got discouraged when I hit this issue and couldn’t find any support.