coin-hive
coin-hive copied to clipboard
Unhandled promise rejection
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.
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!