Bitcoin Forum
May 07, 2024, 07:48:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: help mining pool (node init.js) [Error]  (Read 205 times)
iUNeIV (OP)
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
August 26, 2018, 02:44:04 AM
 #1

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 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
1715111326
Hero Member
*
Offline Offline

Posts: 1715111326

View Profile Personal Message (Offline)

Ignore
1715111326
Reply with quote  #2

1715111326
Report to moderator
1715111326
Hero Member
*
Offline Offline

Posts: 1715111326

View Profile Personal Message (Offline)

Ignore
1715111326
Reply with quote  #2

1715111326
Report to moderator
1715111326
Hero Member
*
Offline Offline

Posts: 1715111326

View Profile Personal Message (Offline)

Ignore
1715111326
Reply with quote  #2

1715111326
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
iUNeIV (OP)
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
August 26, 2018, 05:02:53 PM
 #2

Yes
iUNeIV (OP)
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
August 29, 2018, 02:54:34 AM
 #3

What problem could it be?
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 29, 2018, 08:45:00 AM
 #4

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)


iUNeIV (OP)
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
August 29, 2018, 10:03:57 PM
 #5

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

httpb
Sr. Member
****
Offline Offline

Activity: 644
Merit: 272



View Profile
August 30, 2018, 07:52:45 AM
 #6

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!