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

Console error: prepare.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type') #694

Open
redfox05 opened this issue Nov 12, 2024 · 3 comments

Comments

@redfox05
Copy link

redfox05 commented Nov 12, 2024

Console errors originating from the Vue.js devtools beta extension.
Version: 7.0.0 beta 12

Let me know what other debug info you would like.

prepare.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type')
    at Is (prepare.js:1:49734)
    at At (prepare.js:1:52982)
    at mn (prepare.js:1:53166)
    at prepare.js:1:59930
    at prepare.js:1:63865
    at Array.map (<anonymous>)
    at prepare.js:1:63858
    at Et.callHookWith (prepare.js:1:35597)
    at prepare.js:1:63815
    at new Promise (<anonymous>)
    at Object.getInspectorState (prepare.js:1:63797)
    at Proxy.getInspectorState (VM278279 user-app.js:71:73711)
    at b (VM278279 user-app.js:71:49932)
    at t (VM278279 user-app.js:71:64182)

Chrome Devtools points to the following section of code in prepare.js, specifically the line o = t.type.props;

function Is(t) {
        let e = []
          , o = t.type.props;
        for (let n in t.props) {
            let r = o ? o[n] : null
              , s = so(n);
              ......code continues......
@webfansplz
Copy link
Member

You can try to use the stable version (7.6.4).

@redfox05
Copy link
Author

@webfansplz ok worth a try if it gets annoying for me, but I'm primarily reporting it here as a bug report in the github issues so that the dev's can be aware and look into fixing it in the beta version :)

(I think that's probably why someone downvoted your reply).

@webfansplz
Copy link
Member

@webfansplz ok worth a try if it gets annoying for me, but I'm primarily reporting it here as a bug report in the github issues so that the dev's can be aware and look into fixing it in the beta version :)

(I think that's probably why someone downvoted your reply).

Beta and stable versions are not the same project in the Google Extension Store, after the release of the stable version, we do not maintain the Beta version, so we recommend using the stable version (it will be better in every way).

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

No branches or pull requests

2 participants