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
Describe the bug
I'm getting this error on a few files: TypeError: Cannot read property 'forEach' of undefined
There is no line number associated, just the name of the file.
To Reproduce
I'm not exactly sure how this works yet so I don't know how to distill it down to a simple example.
I suspect the existing comments might be the issue:
// This is required to update sexpr in parent component
// So that if user saves it again,
// Automatically correct the cohort in github
this.$emit('change', this.foobar)
I have not added any vuese specific documentation to components yet. just ran the gen function.
Here is the full command with output:
$ npm run docs:gen
> icarus@1.0.0 docs:gen
> npx vuese gen
🚨 The error occurred when processing: /Users/ettinger/www/icarus/components/cohort/QueryBuilder.vue
🚨 TypeError: Cannot read property 'forEach' of undefined
at ObjectProperty (/Users/ettinger/www/icarus/node_modules/@vuese/parser/dist/index.js:664:28)
at NodePath._call (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/path/context.js:55:20)
at NodePath.call (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/path/context.js:42:17)
at NodePath.visit (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/path/context.js:92:31)
at TraversalContext.visitQueue (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/context.js:116:16)
at TraversalContext.visitMultiple (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/context.js:80:17)
at TraversalContext.visit (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/context.js:142:19)
at Function.traverse.node (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/index.js:82:17)
at traverse (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/index.js:62:12)
at NodePath.traverse (/Users/ettinger/www/icarus/node_modules/@babel/traverse/lib/path/index.js:142:24)
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm getting this error on a few files:
TypeError: Cannot read property 'forEach' of undefined
There is no line number associated, just the name of the file.
To Reproduce
I'm not exactly sure how this works yet so I don't know how to distill it down to a simple example.
I suspect the existing comments might be the issue:
I have not added any vuese specific documentation to components yet. just ran the
gen
function.Here is the full command with output:
The text was updated successfully, but these errors were encountered: