Subscribe on changes!

Vue DevTools: store.subscribeAction is not a function

avatar
Feb 9th 2022

Version

3.2.30

Reproduction link

None; see comments below

Steps to reproduce

New DevTools updated by Chrome

What is expected?

No errors in the console

What is actually happening?

This error appears when the page loads:

TypeError: store.subscribeAction is not a function
    at backend.js:4836:13
    at addPlugin (backend.js:2810:7)
    at async Object.<anonymous> (backend.js:2016:5)

I am using a custom $store reference (not Vuex) which does not have a subscribeAction.

I can add a no-op and it's fine, but the devtools code should not be making assumptions about what $store is in my app.

avatar
Feb 9th 2022

Strange that this appeared here. I used the link in the DevTools and it took me to a form.

Looking more closely, it appears that the form redirects on load:

https://new-issue.vuejs.org/?repo=vuejs/vue-devtools
https://new-issue.vuejs.org/?repo=vuejs/core

If you can't move this issue, then I can recreate on: https://github.com/vuejs/devtools/

avatar
Feb 9th 2022

fir some reason github won't let me transfer it either, please re-open there.

We'll debug that issue-helper problem