cazala / coin-hive

CoinHive cryptocurrency miner for node.js
https://www.npmjs.com/package/coin-hive
MIT License
1.99k stars 399 forks source link

Failed at the puppeteer@0.10.2 install script. #58

Closed JuanMao1997 closed 7 years ago

JuanMao1997 commented 7 years ago

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! puppeteer@0.10.2 install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the puppeteer@0.10.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-10-29T10_08_26_337Z-debug.log

root@123:~# npm -v 5.4.2 root@123:~# node -v v8.8.1

SoftCreatR commented 7 years ago

Try with

sudo npm i -g coin-hive --unsafe-perm=true --allow-root

soyuka commented 7 years ago

don't install as root ?

Al13n0 commented 7 years ago

I have the same problem.. node version v8.6.0 npm version 5.5.1

GigaFyde commented 7 years ago

use curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

then use sudo apt-get install -y nodejs

Then try to re-install again. It worked for me.

SoftCreatR commented 7 years ago

But it requires Node8 and not Node6?

Katamori commented 7 years ago

sudo npm i -g coin-hive --unsafe-perm=true --allow-root and installing Node 6.4.0.+ solved for me.