-
Notifications
You must be signed in to change notification settings - Fork 15
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
SyntaxError: Unexpected token #1
Comments
Thanks for posting. Can you please provide me with the raw text that was read just before the JSON.parse() line, thanks. |
I had some console.log commented in your script, so it's missing from the log file. That was on ethermine pool. You got it working on what pool ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
x xx nodevfee > SyntaxError: Unexpected token { in JSON at position 166 x
x xx nodevfee > at JSON.parse () x
x xx nodevfee > at Socket.localsocket.on (/root/no-dev-fee-stratum-proxy/server.js:40:30) x
x xx nodevfee > at emitOne (events.js:116:13) x
x xx nodevfee > at Socket.emit (events.js:211:7) x
x xx nodevfee > at addChunk (_stream_readable.js:263:12) x
x xx nodevfee > at readableAddChunk (_stream_readable.js:250:11) x
x xx nodevfee > at Socket.Readable.push (_stream_readable.js:208:10) x
x xx nodevfee > at TCP.onread (net.js:594:20) x
x xx nodevfee > { SyntaxError: Unexpected token { in JSON at position 166 x
x xx nodevfee > at JSON.parse () x
x xx nodevfee > at Socket.localsocket.on (/root/no-dev-fee-stratum-proxy/server.js:40:30) x
x xx nodevfee > at emitOne (events.js:116:13) x
x xx nodevfee > at Socket.emit (events.js:211:7) x
x xx nodevfee > at addChunk (_stream_readable.js:263:12) x
x xx nodevfee > at readableAddChunk (_stream_readable.js:250:11) x
x xx nodevfee > at Socket.Readable.push (_stream_readable.js:208:10) x
x xx nodevfee > at TCP.onread (net.js:594:20) x
x xx nodevfee > stackframes: x
x xx nodevfee > [ { file_name: null, line_number: null }, x
x xx nodevfee > { file_name: '/root/no-dev-fee-stratum-proxy/server.js', x
x xx nodevfee > line_number: 40 }, x
x xx nodevfee > { file_name: 'events.js', line_number: 116 }, x
x xx nodevfee > { file_name: 'events.js', line_number: 211 }, x
x xx nodevfee > { file_name: '_stream_readable.js', line_number: 263 }, x
x xx nodevfee > { file_name: '_stream_readable.js', line_number: 250 }, x
x xx nodevfee > { file_name: '_stream_readable.js', line_number: 208 }, x
x xx nodevfee > { file_name: 'net.js', line_number: 594 } ] } x
The text was updated successfully, but these errors were encountered: