question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot read property 'vm' of undefined when using component with jQuery

See original GitHub issue

I may be dense, but when trying to use your component with vue-router I get TypeError: Cannot read property 'vm' of undefined when trying to use the filter function. Sorting and layout both work before trying to filter, but after they break with the same error.

Here is a live example of the issue. In this case there’s a router.js and main.js and the template for the isotope router-view is inline in the router file. Any idea what’s going wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
David-Desmaisonscommented, Jan 30, 2017

Fixed in version 2.1.0

0reactions
David-Desmaisonscommented, Jan 30, 2017

@bornytm cool! I will release a version where isotope component forces isJQueryFiltering=false. Untill I release this version, you can set isJQueryFiltering=false manually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read properties of undefined in Vue
This is an issue related with the this binding. It's a common mistake to write a function declaration as a callback inside methods...
Read more >
getting a cannot read property of undefined error from vue.js ...
Coding example for the question getting a cannot read property of undefined error from vue.js when using v-model with an array-Vue.js.
Read more >
TypeError: cannot use 'in' operator to search for 'x' in 'y'
It can only be used to check if a property is in an object. Message. TypeError: Cannot use 'in' operator to search for...
Read more >
Cannot read property 'filtertype' of undefined - jQWidgets
This error is now crashing the grid completely as you will see. Don't delve too deeply in the custom js code (JqxUtils object),...
Read more >
Vue.js – Vuex “TypeError: Cannot read property 'data' of ...
Vue.js – Vuex “TypeError: Cannot read property 'data' of undefined”. apivue.jsvuex. I take data through the store using Vuex and API. I'm a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found