Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with vue-performance extension: Uncaught TypeError: hook.flushStoreModules is not a function #914

Open
luffyli opened this issue Mar 26, 2019 · 30 comments

Comments

@luffyli
Copy link

luffyli commented Mar 26, 2019

Version

5.0.1

Browser and OS info

Chrome Version 73.0.3683.86 (Official Build) (64-bit), W10 - Build: 17763.379

Steps to reproduce

Open browser with enabled vue-devtools
Open page with vue and vuex store under control

What is expected?

no error

What is actually happening?

image
Uncaught TypeError: hook.flushStoreModules is not a function at initVuexBackend (backend.js:11839) at connect (backend.js:1472) at initBackend (backend.js:1382) at handshake (backend.js:2696)

component no show

image

vuex no show

image

@kuanyen
Copy link

kuanyen commented Mar 26, 2019

Encountered exactly the same issue on Chromium 72.0, Chakra Linux

chrome-extension://n…ld/backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
    at initVuexBackend (chrome-extension://n…ld/backend.js:11839)
    at connect (chrome-extension://n…ild/backend.js:1472)
    at initBackend (chrome-extension://n…ild/backend.js:1382)
    at handshake (chrome-extension://n…ild/backend.js:2696)
14:51:28.055
backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
    at initVuexBackend (VM26407 backend.js:11839)
    at connect (VM26407 backend.js:1472)
    at initBackend (VM26407 backend.js:1382)
    at handshake (VM26407 backend.js:2696)

@matteopolati
Copy link

Same error on Chrome 73.0.3683.86.

Uncaught TypeError: hook.flushStoreModules is not a function at initVuexBackend (backend.js:11839) at connect (backend.js:1472) at initBackend (backend.js:1382) at handshake (backend.js:2696)

@janswist
Copy link

@luffyli the only workaround to show components is to click 'Refresh' button within vue-devtools.

@luffyli
Copy link
Author

luffyli commented Mar 26, 2019

@luffyli the only workaround to show components is to click 'Refresh' button within vue-devtools.

@janswist Thank you

@Akryum Akryum added bug need team repro We acknowledged your report and will soon try to reproduce it labels Mar 26, 2019
@vuejs vuejs deleted a comment from janswist Mar 26, 2019
@Akryum
Copy link
Member

Akryum commented Mar 26, 2019

I can't reproduce this issue. Please provide a runnable reproduction.

@Akryum Akryum added cannot reproduce We cannot reproduce the problem with the given information. More env information needed. and removed bug need team repro We acknowledged your report and will soon try to reproduce it labels Mar 26, 2019
@waltergalvao
Copy link

Same problem here

@oliviermattei
Copy link

oliviermattei commented Mar 26, 2019

same here too ;)

I have disabled vue-performance extension and it's work well now.

@janswist
Copy link

Also try to update Chrome to newest version. Started to work a bit, but now I get this error:

index.js?58ae:126 Uncaught TypeError: Cannot read property 'defaults' of undefined
    at Store.authenticate (index.js?58ae:126)
    at wrappedMutationHandler (vuex.esm.js?2f62:697)
    at backend.js:12092
    at Array.forEach (<anonymous>)
    at loop (backend.js:12092)
    at replayMutations (backend.js:12109)
    at Bridge.<anonymous> (backend.js:12022)
    at Bridge.emit (backend.js:3205)
    at Bridge._emit (backend.js:3028)
    at backend.js:2953

@matteopolati
Copy link

@oliviermattei Yeah. Seems to be a conflict with vue-performance extension.
Disabling it works.

@jampinha
Copy link

The problem is apparently related to the vue-performance extension.
I have disabled vue-performance extension and it works well for me

@arrucard
Copy link

I had the same and disabling vue-performance extension did the work :) thanks

@Akryum Akryum added bug and removed cannot reproduce We cannot reproduce the problem with the given information. More env information needed. labels Mar 26, 2019
@Akryum Akryum changed the title Uncaught TypeError: hook.flushStoreModules is not a function Conflict with vue-performance extension: Uncaught TypeError: hook.flushStoreModules is not a function Mar 26, 2019
@Ljiayi
Copy link

Ljiayi commented Mar 27, 2019

Same error on 73.0.3683.86(正式版本) (64 位)
backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
at initVuexBackend (backend.js:11839)
at connect (backend.js:1472)
at initBackend (backend.js:1382)
at handshake (backend.js:2696)

@Ljiayi
Copy link

Ljiayi commented Mar 27, 2019

Same error on 73.0.3683.86(正式版本) (64 位)
backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
at initVuexBackend (backend.js:11839)
at connect (backend.js:1472)
at initBackend (backend.js:1382)
at handshake (backend.js:2696)

when disabled vue-performance extension and it works well for me

@yang131323
Copy link

Same problem here

@RayPS
Copy link

RayPS commented Mar 27, 2019

Same, subscribed.

@ghost
Copy link

ghost commented Mar 28, 2019

Same problem

@Djidi1
Copy link

Djidi1 commented Mar 28, 2019

And I got some error. Screenshot below:
image

@tmcdos
Copy link

tmcdos commented Mar 28, 2019

I already filed an issue for Vue-Performance extension - the solution is to add the missing code fragment to the hook.once("vuex:init" callback (as shown in the issue). If you patch yourself the Vue-Performance code you will have to re-add the extension using Load Unpacked menu in Chrome (which seems to be available in Developer mode only)

@AlexanderZon
Copy link

Same problem here

@Sinosaurus
Copy link

I remove Vue Performance chrome plugin, it works well for me

@ekosynth
Copy link

Same issue here. I disabled Vue Performance to skirt this issue.

@GuangChao-Yu
Copy link

Same problem here

@kangjianqq809295733
Copy link

Same problem here,help me. remove Vue Performance chrome plugin, it works well also.

@jo0ger
Copy link

jo0ger commented Apr 4, 2019

same here too ;)

I have disabled vue-performance extension and it's work well now.

It works!!!

@AlexanderZon
Copy link

I have disabled vue-performance and dejavue extensions and it works well now

@Akryum Akryum added the wontfix label Apr 9, 2019
@scheinercc
Copy link

Same in Firefox 68.0b2

@f2elab
Copy link

f2elab commented Aug 9, 2019

I remove Vue Performance chrome plugin. It can run successfully.

@khawarizmus
Copy link

confirming that removing Vue Performance extension on firefox also solves my issue. otherwise the vuex will keep lading infinitely.

@abolfazlrastegar
Copy link

abolfazlrastegar commented Apr 5, 2020

when call method you method this error
Error in v-on handler: "TypeError: _this.shareScreen is not a function"

@yangtao2o
Copy link

The problem is apparently related to the vue-performance extension.
I have disabled vue-performance extension and it works well for me

It's true that I use this method,Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests