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.

Error Events.emit is not a function

See original GitHub issue

On version 0.14.0 using Vue 2 with TypeScript and composition API, when leaving component that uses vue-masonary gets the following error:

vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in directive masonry unbind hook: "TypeError: Events.emit is not a function"

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
shershen08commented, Feb 7, 2022

@rosenfeldalon published 0.14.1 just now - https://www.npmjs.com/package/vue-masonry

please upgrade and give it a try

1reaction
seonwoo960000commented, Feb 7, 2022

Is this fixed in version 0.14.0 ? I still see this error. Thanks in advance

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue js : _this.$emit is not a function - Stack Overflow
This error surfaces if $emit is not on the current context/reference of this , perhaps when you're in the then or catch methods...
Read more >
Event.$emit is not a function when trying to emit within a ...
I'm trying to emit an event from within a component and listen to the event on another component. I'm using Laravel 5.3 and...
Read more >
Uncaught TypeError: app.$emit is not a function - Laracasts
I am using a component that uploads images using Dropzone and once the upload finishes, it should emit an event so that I...
Read more >
Angular: .emit is not a function · Discussion #16507 - GitHub
Hello,. I have created stories from a library of angular components, but in all I have the same error with the Output events....
Read more >
events.EventEmitter.emit JavaScript and Node.js code examples
How to use. emit. function ... EventEmitter.emit(Showing top 15 results out of 1,062) ... invokeCallback(cb, new Error('application is not running now.
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