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

RangeError for toString('utf8') on Nodejs 8.6.0 #37

Open
dirkschulze opened this issue Jul 15, 2019 · 1 comment
Open

RangeError for toString('utf8') on Nodejs 8.6.0 #37

dirkschulze opened this issue Jul 15, 2019 · 1 comment

Comments

@dirkschulze
Copy link

I see the following error for Node.js 8.6.0:

jsonparse.js:94
    this.string += this.stringBuffer.toString('utf8');
                                     ^

RangeError: Invalid string length
    at Parser.proto.appendStringChar (jsonparse.js:94:38)
    at Parser.proto.write (jsonparse.js:197:34)

This does not happen with later versions of Node.js it seems but because of constrains I have to use this particular version.

Is there a workaround for this issue that I could use?

@Miguel2222222
Copy link

Hi @dirkschulze ,
I am currently getting the same error you mentioned. Could you please let me know if you finally got any solution for this RangeError for toString('utf8') problem? We currently have the same node.js version installed.
Thank you in advance,
Miguel

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