coin-hive icon indicating copy to clipboard operation
coin-hive copied to clipboard

Unhandled promise rejection

Open TonyRenHK opened this issue 6 years ago • 1 comments

cabox@box-codeanywhere:~/workspace$ node min.js (node:1493) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Failed to launch chrome! /home/cabox/workspace/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

(node:1493) 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.

TonyRenHK avatar Jan 16 '18 08:01 TonyRenHK

Hello! Have you tried this solution https://github.com/cazala/coin-hive/issues/54#issuecomment-340824415? This was answered in other issue, and maybe works for you too. Please update, thank you!

ghost avatar Jan 18 '18 02:01 ghost