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

Uncaught Error Rendering Class Pages #45

Closed
uxdiogenes opened this issue Jun 22, 2012 · 2 comments
Closed

Uncaught Error Rendering Class Pages #45

uxdiogenes opened this issue Jun 22, 2012 · 2 comments

Comments

@uxdiogenes
Copy link

I keep seeing this error: "Object [force] {Boolean} Disregard safety measures? has no method 'forEach'" when rendering class pages. The issue URL at the bottom probably needs to be updated as well.

error: --------------------------------------------------------------------------
error: An uncaught YUIDoc error has occurred, stack trace given below
error: --------------------------------------------------------------------------
error: 
TypeError: Object [force] {Boolean} Disregard safety measures? has no method 'forEach'
    at /usr/local/lib/node_modules/yuidocjs/lib/builder.js:949:42
    at Array.forEach (native)
    at /usr/local/lib/node_modules/yuidocjs/lib/builder.js:943:28
    at [object Object].prepare (/usr/local/lib/node_modules/yuidocjs/lib/utils.js:216:5)
    at Object.renderClass (/usr/local/lib/node_modules/yuidocjs/lib/builder.js:867:15)
    at [object Object].<anonymous> (/usr/local/lib/node_modules/yuidocjs/lib/builder.js:1146:22)
    at Function.each (/usr/local/lib/node_modules/yuidocjs/node_modules/yui/yui-nodejs/yui-nodejs.js:3041:16)
    at f (/usr/local/lib/node_modules/yuidocjs/node_modules/yui/oop/oop-min.js:7:296)
    at [object Object].each (/usr/local/lib/node_modules/yuidocjs/node_modules/yui/oop/oop-min.js:7:1206)
    at Object.writeClasses (/usr/local/lib/node_modules/yuidocjs/lib/builder.js:1144:15)
error: --------------------------------------------------------------------------
error: Node.js version: v0.6.18
error: YUI version: 3.5.1
error: YUIDoc version: 0.2.44
error: Please file all tickets here: http://github.com/davglass/yuidocjs/issues
error: --------------------------------------------------------------------------
@uxdiogenes
Copy link
Author

Ah, I believe it was this poorly formatted line that did it:

* @params [force] {Boolean} Disregard safety measures?

It should probably be able to recover from something like that, and show a warning like in most other cases.

@uxdiogenes
Copy link
Author

My bad, updating to the latest version made this go away.

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

1 participant