Error: socket hang up
at createHangUpError (_http_client.js:332:15)
at Socket.socketOnEnd (_http_client.js:435:23)
at Socket.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Socket.socketOnEnd (_http_client.js:435:9)
at Socket.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm
ERR! code ELIFECYCLE
npm
ERR!
errno 1
npm ERR!
whatsapp-node-api@0.0.3 start: node api.js
npm ERR! Exit status 1
npm
ERR!
npm ERR!
Failed at the whatsapp-node-api@0.0.3 start script.
npm ERR!
This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm
ERR! /root/.npm/_logs/2022-01-05T07_43_21_300Z-debug.log
lastqr/6113last.qr generated events.js:174 throw er; // Unhandled 'error' event ^
Error: socket hang up at createHangUpError (_http_client.js:332:15) at Socket.socketOnEnd (_http_client.js:435:23) at Socket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) Emitted 'error' event at: at Socket.socketOnEnd (_http_client.js:435:9) at Socket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! whatsapp-node-api@0.0.3 start:
node api.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the whatsapp-node-api@0.0.3 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-01-05T07_43_21_300Z-debug.log