Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: iUNeIV on August 26, 2018, 02:44:04 AM



Title: help mining pool (node init.js) [Error]
Post by: iUNeIV on August 26, 2018, 02:44:04 AM
Hello,

I am new to mining design circles. I use the pool type "nomp". I have all configure in bitcoinz files. I install the wallet and it is sync. I have all install the files it requests in https://github.com/NickRHill/zh-nomp (https://github.com/NickRHill/zh-nomp) and when you activate the pool "node init.jd". Now, it shows me an error message and I do not know how to fix the error.

I already have all delete and start again and without success.
 
I ask a charitable soul to help me find a solution to my problem.


https://image.ibb.co/nNQsJK/node_init.png


Regards iUNeIV


Title: Re: help mining pool (node init.js) [Error]
Post by: iUNeIV on August 26, 2018, 05:02:53 PM
Yes


Title: Re: help mining pool (node init.js) [Error]
Post by: iUNeIV on August 29, 2018, 02:54:34 AM
What problem could it be?


Title: Re: help mining pool (node init.js) [Error]
Post by: bob123 on August 29, 2018, 08:45:00 AM
Did you run npm install inside the correct directory ?


Try installing the missing module (async) via this command:

Code:
npm install --save async


If you are further running into trouble, copy the output of your terminal and paste it between code-tags ([ code] and [ /code] omitting the spaces)



Title: Re: help mining pool (node init.js) [Error]
Post by: iUNeIV on August 29, 2018, 10:03:57 PM
I had it when I did the installation


Code:
minenext@MineNext-1:~$ npm install --save async
npm WARN enoent ENOENT: no such file or directory, open '/home/minenext/packagejson'

npm ERR! path /home/minenext/node_modules/stratum-pool
npm ERR! code EISGIT
npm ERR! git /home/minenext/node_modules/stratum-pool: Appears to be a git repoor submodule.
npm ERR! git     /home/minenext/node_modules/stratum-pool
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/minenext/.npm/_logs/2018-08-29T21_42_03_827Z-debug.log



Title: Re: help mining pool (node init.js) [Error]
Post by: httpb on August 30, 2018, 07:52:45 AM
I had it when I did the installation


Code:
minenext@MineNext-1:~$ npm install --save async
npm WARN enoent ENOENT: no such file or directory, open '/home/minenext/packagejson'

....


If I'm not mistaken, looking at the log above, there is no package.json file, so the install failed. Try first to run:

Code:
npm init

and only then:

Code:
npm install --save async