Open bnleach opened 6 years ago
try to install it using npm install merged-pooler
npm update
I did try using npm install merged-pooler and received the following error npm ERR! code E404 npm ERR! 404 Not Found: pooler@latest
npm ERR! A complete log of this run can be found in: npm ERR! /home/miner001/.npm/_logs/2017-12-25T09_03_19_087Z-debug.log
I have been using sudo npm update after each change made
did you try to sudo it?
I have run into this problem -- However I use 14.04 x64 --- any other way and npm update was full of errors..
adduser adduser (username) sudo su (new user) sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get install git
then sudo apt-get install build-essential libssl-dev npm nodejs nodejs-legacy curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh source ~/.profile nvm install 0.10.25 nvm use 0.10.25 git clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp cd unomp npm update
thanks this works now
cool glad you got it working
so the key is DO NOT run installation as root
If you have problem with "Cannot find module 'merged-pooler'", just go to uNomp -> node_modules and run command $ mv ./stratum-pool ./merged-pooler Also, if you don't have stratum-pool here, just run $ npm install merged-pooler $ mv ./stratum-pool ./merged-pooler And, yeah, DO NOT USE sudo. That's all.
I am running Ubuntu 16.04 . I followed the guide 'setup your own mining pool' on Blockgen. When i run "sudo node init.js", I get the following error:
module.js:538 throw err; ^
Error: Cannot find module 'merged-pooler' at Function.Module._resolveFilename (module.js:536:15) at Function.Module._load (module.js:466:25) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at Object. (/home/miner001/unomp/libs/poolWorker.js:1:77)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
How do I fix this issue?