-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error: Unexpected end of input #92
Comments
Thanks for filing the issue. Here are a few questions that might help
It doesn't seem like a library issue at first glance. On Mon, Mar 21, 2016 at 11:28 PM, Rob Tarr [email protected] wrote:
|
Would love any insight into this. Is anybody else using this with 4.3.1? |
Thanks for the info! We should add those node versions to the travis config
|
I ran jsdox on the code provided in the first comment on this thread, but did not get any errors (using node 5.9.0). As the build is working fine on Travis, I suspect there may be some encoding issues with your original file. And as just removing lines randomly also helps, it may be just that re-saving fixes the encoding. |
I have a project that i Just started a couple of months ago, and set up jsdox. I just made some changes, and recently upgraded to Node 4.3.1 (not sure if that is causing the problem). But when I try to run jsdox now, I get:
This is the file I'm running it on is this:
It seems like deleting any line of code from this snippet (I've already ripped out some) fixes the problem. This, however, is not a very good solution. :)
I've traced it back to line 17 of
jsdoc3-parser
, and I've tried to play with themaxBuffer
size, but have not had any luck.execFile(cmd, ['-X', filename], { maxBuffer: 5120 * 1024 }, jsdocParser._onComplete.bind(null, cb));
The text was updated successfully, but these errors were encountered: