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

coin-hive installs non ARM puppeteer build on ARM system

Open 0x15f opened this issue 8 years ago • 5 comments

I'm attempting to run coin-hive on a Raspberry PI 3 running Raspbian. The puppeteer/chromium module installed by coin-hive isn't an ARM build.

Error:

/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: ELF: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: cannot open S: No such file
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: �hP��PôPô����: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 1: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: @�: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 2: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: @%$@@@0ppp�c�c��c��c��c@�@�,#�,#Q�td��c��c��c: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 3: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: �: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 4: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: �: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 5: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: �: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 6: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: �: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 7: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: �: not found
/usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: 8: /usr/local/lib/node_modules/coin-hive/node_modules/puppeteer/.local-chromium/linux-497674/chrome-linux/chrome: Syntax error: ")" unexpected

Node Version: v9.4.0

NPM Version: 5.6.0

Output of uname -a: Linux raspberrypi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux

0x15f avatar Feb 16 '18 21:02 0x15f

I read #75 and installed an ARM build and set the executablePath to the extracted directory. I'm now getting this empty error:

An error occured Failed to launch chrome!


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

0x15f avatar Feb 16 '18 22:02 0x15f

Any update on this @0x15f ?

subspan avatar Mar 18 '18 01:03 subspan

No update @Scibot-Dev, I had to use a different miner.

0x15f avatar Apr 26 '18 02:04 0x15f

Благодарю за письмо.Иван

mirotvorez5 avatar Apr 26 '18 02:04 mirotvorez5

Hey , i have tha same thing .. Which miner did you find? Cab mine for another miner to coinhive??

t133 avatar Apr 28 '18 15:04 t133