question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

coin-hive installs non ARM puppeteer build on ARM system

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
0x15fcommented, Apr 26, 2018

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

0reactions
t133commented, Apr 28, 2018

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

coin-hive - Bountysource
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.
Read more >
How to run Puppeteer on ARM based Infrastructure - iiAku
I am now on a ARM based infrastructure and the binary I was using was no longer working; Phantom.js project is no longer...
Read more >
How to fix M1 Mac Puppeteer chromium arm64 bug
The answer is to manually install chromium on your machine. Let's go over how to fix this problem step-by-step. Step 1: Install chromium...
Read more >
coin-hive - npm
The purpose of this package is to allow you to run CoinHive's JavaScript miner from node.js (otherwise it only works on the browser)....
Read more >
Abusing Web Browsers for Persistent and Stealthy Computation
system and does not require the installation of any software. ... this would be an arm race between attackers and defenders,.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found