Bitcoin Forum

Bitcoin => Pools => Topic started by: gorgorom on May 04, 2014, 10:47:48 PM



Title: Node Stratum For MPOS Error Halp
Post by: gorgorom on May 04, 2014, 10:47:48 PM
Hey guys,

So with no success with the python stratum, for some odd reason...(everything is ookay, no errors, config is fine, but anyway) I decided to try the new Node.js MPOS startum server.

After getting it all set up, and configd, I get this error when running init.js

Code:
node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Cannot find module 'async'
    at Function._resolveFilename (module.js:332:11)
    at Function._load (module.js:279:25)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/home/gorgorom/node-open-mining-portal/init.js:6:13)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:32)
    at Function._load (module.js:308:12)
    at Array.0 (module.js:479:10)

Any ideas?


Title: Re: Node Stratum For MPOS Error Halp
Post by: CaptEmulation on May 06, 2014, 02:25:05 AM
npm install async --save

Feel free to create a pull request afterwards.