Search code examples
jsduck

use jsduck failed to generate doc,The code framework uses Extjs


The command line prompt error when using jsduck docs today: enter image description here Can't I use keywords like parse? But I need these in my code.


Solution

  • The "parse" mentioned in error logs refers to the code of JSDuck, not to your code that it's parsing. Something unexpected happens inside JSDuck while parsing your code.

    There's not much else I can tell without seeing your code. Looks like the problem is in file CommonUtils.js. If it's large, try to trim that file to just the minimum amount of code that's causing the crash.

    If it's not clear by then, post the code here.