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

Using --tutorials or -u fails with jaguar template, although jsdoc is working fine default and other template #49

Open
harshkurra opened this issue May 10, 2018 · 1 comment

Comments

@harshkurra
Copy link

undefined:25
if (item.members.length) {
^

TypeError: Cannot read property 'length' of undefined
at eval (eval at _.template (C:\DATA\JSdoc\node_modules\underscore\underscore.js:1454:20), :25:30)
at Array.forEach ()
at exports.Template.eval (eval at _.template (C:\DATA\JSdoc\node_modules\underscore\underscore.js:1454:20), :13:14)
at exports.Template.template (C:\DATA\JSdoc\node_modules\underscore\underscore.js:1461:21)
at exports.Template.partial (C:\DATA\JSdoc\node_modules\jsdoc\lib\jsdoc\template.js:55:29)
at exports.Template.eval (eval at _.template (C:\DATA\JSdoc\node_modules\underscore\underscore.js:1454:20), :54:14)
at exports.Template.template (C:\DATA\JSdoc\node_modules\underscore\underscore.js:1461:21)
at exports.Template.partial (C:\DATA\JSdoc\node_modules\jsdoc\lib\jsdoc\template.js:55:29)
at exports.Template.render (C:\DATA\JSdoc\node_modules\jsdoc\lib\jsdoc\template.js:74:24)
at generate (C:\DATA\JSdoc\node_modules\jaguarjs-jsdoc\publish.js:128:21)
at Object.exports.publish (C:\DATA\JSdoc\node_modules\jaguarjs-jsdoc\publish.js:471:35)
at Object.module.exports.cli.generateDocs (C:\DATA\JSdoc\node_modules\jsdoc\cli.js:448:35)
at Object.module.exports.cli.processParseResults (C:\DATA\JSdoc\node_modules\jsdoc\cli.js:399:20)
at module.exports.cli.main (C:\DATA\JSdoc\node_modules\jsdoc\cli.js:240:14)
at Object.module.exports.cli.runCommand (C:\DATA\JSdoc\node_modules\jsdoc\cli.js:189:5)
at C:\DATA\JSdoc\node_modules\jsdoc\jsdoc.js:105:9

@chenweiyi
Copy link

I had this problem too.
Can you solve this problem?

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