vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.66k stars 4.15k forks source link

Uncaught (in promise) TypeError: Cannot read property 'instanceMap' of undefined #1451

Closed namelessyy closed 3 years ago

namelessyy commented 3 years ago

Version

6.0.0-beta.11

Browser and OS info

Chrome 90 / Windows 10

Steps to reproduce

What is expected?

控制台没有错误

What is actually happening?

控制台打印如下错误信息

Uncaught (in promise) TypeError: Cannot read property 'instanceMap' of undefined
    at getComponentInstance (backend.js:991)
    at Object.sendSelectedComponentData (backend.js:935)
    at Object.<anonymous> (backend.js:1211)
    at Object.emit (<anonymous>:1:755)
    at DevtoolsPluginApiInstance.notifyComponentUpdate (backend.js:381)
    at vuex.esm-bundler.js:456
    at vuex.esm-bundler.js:951
    at Array.forEach (<anonymous>)
    at Store2.commit (vuex.esm-bundler.js:951)
    at Store2.boundCommit [as commit] (vuex.esm-bundler.js:880)

尝试了 Electron 13(Chrome版本为91), Edge 90, 也存在同样的问题

poipo-ly commented 3 years ago

hxd,解决了吗

Akryum commented 3 years ago

Duplicate of #1446

namelessyy commented 3 years ago

hxd,解决了吗

没有解决, 可以右键隐藏该错误提示也能用

zhuhai-1999 commented 3 years ago

devtools移除,然后再添加一次,相当于重装一次,之后就没有了,我试了可以