You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm not sure if this is a vue devtools bug or not.
I'm using singleSPA and navigating between Microfrontend apps, each of those are vue with vue router and pinia.
Lately, an error had started to rise anytime I navigate between the apps. This error is rising from the devtools extension, and when the extension is disabled it does not occur.
The error is:
prepare.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'app')
at Object.get (prepare.js:1:41159)
at prepare.js:1:68716
at prepare.js:1:33623
at prepare.js:1:33615
It happens because VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD is undefined.
It only happens when I navigate away from a MF to another MF. If I refresh the page, the error does not happen.
This makes me think it is some sort of lifecycle related issue. I did not see this error in the past with the beta mode of devtools.
It is quite annoying, but I'm not really sure how to approach it.
Any ideas? Had anyone encountered a similar issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm not sure if this is a vue devtools bug or not.
I'm using singleSPA and navigating between Microfrontend apps, each of those are vue with vue router and pinia.
Lately, an error had started to rise anytime I navigate between the apps. This error is rising from the devtools extension, and when the extension is disabled it does not occur.
The error is:
prepare.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'app')
at Object.get (prepare.js:1:41159)
at prepare.js:1:68716
at prepare.js:1:33623
at prepare.js:1:33615
It happens because VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD is undefined.
It only happens when I navigate away from a MF to another MF. If I refresh the page, the error does not happen.
This makes me think it is some sort of lifecycle related issue. I did not see this error in the past with the beta mode of devtools.
It is quite annoying, but I'm not really sure how to approach it.
Any ideas? Had anyone encountered a similar issue?
Beta Was this translation helpful? Give feedback.
All reactions