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.
Asked
Active
Viewed 33 times
1 Answers
0
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.

Rene Saarsoo
- 13,580
- 8
- 57
- 85
-
This file is written in some common methods, I submit it to you to see? – JasonSoftWare Sep 24 '19 at 09:07
-
My file has characters such as "map", "Array", "parse", "parseInt" – JasonSoftWare Sep 24 '19 at 09:10
-
These words are likely not the cause of the problem. It's best if you can show the whole file. – Rene Saarsoo Sep 24 '19 at 13:46
-
Sasrsoo This file is too large to upload here. Can you provide your email address? I send you.Yesterday I tried to find the problem, but I didn't find it. – JasonSoftWare Sep 25 '19 at 02:59
-
Sorry, I don't really fancy digging through your large file. I suggest you try to remove parts of the file and re-run JSDuck until you find the minimal part that's still causing the crash. Then post this minimal amount of code here. – Rene Saarsoo Sep 25 '19 at 14:10