Console error: prepare.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type')
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
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......
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error with the Vue.js devtools beta extension version 7.0.0 beta 12 and inspect the getInspectorState call in prepare.js. Trace the Is function around the reported line o = t.type.props;; done means the reported console error no longer occurs during inspector-state retrieval.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100