Vue-devtools: Cannot read property 'bind' of undefined

Created on 26 Mar 2019  路  13Comments  路  Source: vuejs/vue-devtools

Version

5.0.1

Browser and OS info

Chrome 73

Steps to reproduce

Vue.js version is v1.0.24
Vuex version is v0.6.2

open the app, chrome throw a error is "Uncaught TypeError: Cannot read property 'bind' of undefined"

u.storeModules = [];
var e = t.registerModule.bind(t);

t without registerModule method

What is expected?

Do not block the application from opening properly

What is actually happening?

throw a error


could you please add disable button for devtools?

high regression vue 1.x

Most helpful comment

This is still an issue in 5.0.6, even with Vue.config.devtools = false.

[email protected]
[email protected]
Chrome: 73.0.3683.86

All 13 comments

I got the same problem for Chrome: Version 72.0.3626.81 (Official Build) (64-bit)
Operating System: Ubuntu 16.04.5 LTS

It looks like there is no backward compatibility for older Vuex versions

Disable the extension, it doesn't look to be compatible with Vue 1.x as @bajzarpa points out.

Disable the extension, it doesn't look to be compatible with Vue 1.x as @bajzarpa points out.

I certainly know that disabling devTools can get around this, but I have multiple applications, I just hope it doesn't block my application from working properly

I certainly know that disabling devTools can get around this, but I have multiple applications, I just hope it doesn't block my application from working properly

Oh i agree, i was just proposing a solution to get the application working again. By no means did i suggest this is the best solution but for now it works.

@Akryum this error still appears to be happening in v5.0.5 with a v1 app.

Please provide a runnable reproduction.

You can check here: https://app.seniorvu.com/

If I have vue devtools uninstalled the site loads. If I have them installed it's just white screened with that error in the console.

Please provide a runnable reproduction.

image

VM87750:formatted:73 Uncaught TypeError: Cannot read property 'bind' of undefined

t.replaceState.bind(t)

t without replaceState method

Same here. Visit https://my.qbrx.com with dev tools enabled and check the console.

This is still an issue in 5.0.6, even with Vue.config.devtools = false.

[email protected]
[email protected]
Chrome: 73.0.3683.86

chrome.zip
I packaged a version 5.0.3 that worked

Has the vue team given up on solving the vueDevtools vue1.x compatibility issue? I still have this problem

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trollderius picture trollderius  路  3Comments

stiltet picture stiltet  路  3Comments

topul picture topul  路  4Comments

davestewart picture davestewart  路  3Comments

pxwee5 picture pxwee5  路  3Comments