-
Notifications
You must be signed in to change notification settings - Fork 395
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
Failed to Launch Chrome #54
Comments
Yes. |
Yes.
…On Sun, Oct 22, 2017 at 11:50 PM, Juan Cazala ***@***.***> wrote:
are you running on linux?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADxzbUmu_Eng6wiPld_ZE0GXrPYE8hyuks5svA0bgaJpZM4QCJZ6>
.
--
Shubham Jain
Software Developer at Gnowit
7 Bayview Road (ICBY), Ottawa, Ontario, Canada
Mobile: +1.613-709-0245
|
Have you installed these dependencies? https://github.com/cazala/coin-hive#im-having-errors-on-ubuntudebian |
Yes I did. |
Any suggestions/solutions? |
There's another dependency in the puppeteer troubleshooting section ... libxext6 |
@geekshubham your issue sounds like #550 did you try that? |
@countxerox it works |
@redochka |
install coin-hive locally (npm i coin-hive) then you can edit the later you can lunch it as:
|
@redochka like this...?
How should I use --disable-setuid-sandbox args in this? From the puppeteer troubleshooting... |
@countxerox yes like this. I hadn't had to add the "--disable-setuid-sandbox". But you can add it as below:
|
I just released version const miner = await CoinHive('site-key', {
launch: {
executablePath: '/usr/bin/chromium-browser',
args: ['--disable-setuid-sandbox', '--no-sandbox']
}
}); |
Who to I run this code calling coinhive via CLI? |
how to embedd this script in the browser. CLI function is working on my Server. const CoinHive = require('coin-hive'); |
Hey,
So I was trying to run this command to start mining the monero "coin-hive PUB_KEY" but after pressing enter I am getting this error. I have tried everything to solve it but I couldn't find any solution
Initializing...
An error occured Failed to launch chrome!
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: ELF����: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: cannot open S: No such file
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: �h���P��PôPô�����������: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: @�: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 2: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: @%$��@@@0�0��p�p�p�������c��c�����c��c��c@�@�,#�,#�Q�td����c��c��c�: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 3: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: ��: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 4: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: ��: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 5: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: ��: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 6: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: ��: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 7: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: ��: not found
/home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 8: /home/shubham/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: Syntax error: ")" unexpected
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
The text was updated successfully, but these errors were encountered: