Subscribe on changes!

Unhandled error during execution of scheduler flush

avatar
Nov 17th 2020

Version

3.0.2

Reproduction link

https://github.com/yinonhever/designo/blob/main/src/components/UI/Map.vue

Steps to reproduce

Click the link to the website (https://designo.vercel.app), and open the 'Locations' page on that website (from the top menu). The error appears in the console when you open that Locations page (https://designo.vercel.app/locations).

What is expected?

I'm trying to use a map on my project with the vue2-leaflet library. For now I just copied one of the examples from the library's website, expecting to see it in action and make tweaks.

What is actually happening?

The map doesn't load at all and instead breaks the app. I'm getting the following two errors in my console (when opening the Locations page):

[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.

Uncaught (in promise) TypeError: selfHook.bind is not a function


Is the error happening because this library isn't compatible with Vue 3?

avatar
Nov 17th 2020

It's probably not compatible with Vue 3 yet, yeah.

https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro