Bitcoin Forum
February 27, 2021, 10:45:01 PM *
News: Latest Bitcoin Core release: 0.21.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help about setup node-open-mining-portal  (Read 1251 times)
zacharyguo
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
September 04, 2015, 11:22:46 AM
 #1

Please Help Me How To Fix It
I follow this website http://blockgen.net/blog/novices-guide-to-setting-up-a-crypto-currency-mining-pool/#NOMP_Stratum_Setup to setup my own mining pool usage mpos
allow to final setup my ubuntu terminal show  error can't work
look this

/home/7788/nomp/init.js:25
var portalConfig = JSON.parse(JSON.minify(fs.readFileSync("config.json", {enco
                                   ^
TypeError: Property 'minify' of object #<Object> is not a function
    at Object.<anonymous> (/home/7788/nomp/init.js:25:36)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:935:3

Is any body can help me to fix this problem
Please And Thank You Very Much!
1614465901
Hero Member
*
Offline Offline

Posts: 1614465901

View Profile Personal Message (Offline)

Ignore
1614465901
Reply with quote  #2

1614465901
Report to moderator
1614465901
Hero Member
*
Offline Offline

Posts: 1614465901

View Profile Personal Message (Offline)

Ignore
1614465901
Reply with quote  #2

1614465901
Report to moderator
1614465901
Hero Member
*
Offline Offline

Posts: 1614465901

View Profile Personal Message (Offline)

Ignore
1614465901
Reply with quote  #2

1614465901
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
BeastBTC
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


I'm A Beast!


View Profile WWW
September 05, 2015, 03:34:02 AM
 #2

It is a bug in node-json-minify module. The version 0.1.1 has a bug in it. Unfortunately their versioning is made so, that the dependency in iodocs can't get a newer version of it.
This can be fixed by changing the version in package.json to "node-json-minify": ">= 0.1.3-a",. This will install a newer version of minify.
zacharyguo
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
September 05, 2015, 06:25:35 AM
 #3

How Can I Change the json version?
Please!Tell ME!
Thank You Very Much!
loshia
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


View Profile
September 05, 2015, 08:17:09 PM
 #4

How Can I Change the json version?
Please!Tell ME!
Thank You Very Much!
VI(m) Wink that is a guess though
Have you asked Google? It knows for sure an it will !!!!!!!!!!!!!!!!!!TELL YOU!!!!!!!!!!!!!!!!!!

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
BeastBTC
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


I'm A Beast!


View Profile WWW
September 05, 2015, 08:45:12 PM
 #5

Here, in your NOMP directory just upload this file and overwite your current package.json

http://ucrypto.co/package.json

You can even copy and paste the text located at http://ucrypto.co/package.json into your package.json
Nexious
Full Member
***
Offline Offline

Activity: 140
Merit: 100

Nexious.com Admin


View Profile WWW
September 08, 2015, 08:19:12 AM
 #6

Open the package.json and change the version of node-json-minify to verson 1.3 onwards as there is a bug.

If you need any help doing this give me a pm and I'd be glad to help Smiley

https://nexious.com - Bitcoin Mining Pool - 5BTC Block Finder Bonus!*
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!