z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
290 stars 440 forks source link

Fresh installs having same problem as regular nomp #190

Closed bcmonster closed 6 years ago

bcmonster commented 7 years ago

Error: Cannot find module 'stratum-pool'

I think they have put in a pull request for the versions. I have worked on getting around this for hours now. Any Idea? I got past this once but landed on bignum error. Worked my way back around to this one again.

Any Ideas?

bcmonster commented 7 years ago

Here is the link to the other issue.

https://github.com/zone117x/node-open-mining-portal/issues/489

If you guys have any idea what versions I need to try and download to get past this I would appreciate it.

sennevb commented 7 years ago

did you do npm update and npm install??

bcmonster commented 7 years ago

Absolutely. I'm running 14.4 in wonder if going to a new version of Ubuntu would fix it. I run nomp on my Bitcoin pool for 2 years now no issue.

sennevb commented 7 years ago

weird :-/

bcmonster commented 7 years ago

It might have been my stupidity. I was trying to run it like i do my bitcoin pool with node init.js instead of npm..... I also updated to 16.04. Im still getting some errors but I think I can work though them.

sennevb commented 7 years ago

can be.. lemme know if it helps

WaveringAna commented 7 years ago

Nomp requires node 0.10 while znomp requires >v4

lludlow commented 7 years ago

To start without using npm use this

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js

Or add that to your env