Erro dealer 2021-19-04
starting dealer
listening on:3201
Connected!!Rj-3P_rkanWuqXg7AAAA
ready0: Rj-3P_rkanWuqXg7AAAA - Rj-3P_rkanWuqXg7AAAA
ready1: Rj-3P_rkanWuqXg7AAAA
ready2: Rj-3P_rkanWuqXg7AAAA
Rj-3P_rkanWuqXg7AAAA
(node:17452) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token R in JSON at position 0
at JSON.parse (<anonymous>)
at Socket.socket.on (/opt/active-projects/dnk/chassi/do69/acd/dealer/src/dealer.js:311:28)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at /opt/active-projects/dnk/chassi/do69/acd/dealer/node_modules/socket.io/lib/socket.js:528:12
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)
(node:17452) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:17452) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.