node-stratum-pool
node-stratum-pool copied to clipboard
Windows 10: cant run start.js cause bignum module is missing although (I think) I installed it.
so if I try to run node.js I get node:internal/modules/cjs/loader:930 throw err; ^
Error: Cannot find module 'bignum' Require stack:
- c:\ergo\ErgoStratumServer\lib\algoProperties.js
- c:\ergo\ErgoStratumServer\lib\index.js
- c:\ergo\ErgoStratumServer\start.js
←[90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:927:15)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:772:27)←[39m
←[90m at Module.require (node:internal/modules/cjs/loader:999:19)←[39m
←[90m at require (node:internal/modules/cjs/helpers:93:18)←[39m
at Object.
(c:\ergo\ErgoStratumServer\lib\algoProperties.js:1:14) ←[90m at Module._compile (node:internal/modules/cjs/loader:1095:14)←[39m ←[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)←[39m ←[90m at Module.load (node:internal/modules/cjs/loader:975:32)←[39m ←[90m at Function.Module._load (node:internal/modules/cjs/loader:816:12)←[39m ←[90m at Module.require (node:internal/modules/cjs/loader:999:19)←[39m { code: ←[32m'MODULE_NOT_FOUND'←[39m, requireStack: [ ←[32m'c:\ergo\ErgoStratumServer\lib\algoProperties.js'←[39m, ←[32m'c:\ergo\ErgoStratumServer\lib\index.js'←[39m, ←[32m'c:\ergo\ErgoStratumServer\start.js'←[39m ] }
I installed openssl with chocolate and also I installed bignum with git clone git://github.com/justmoon/node-bignum.git but I get the same error.
Copy url of ErgoStratum to package.json and replace. Then npm install it will install packages ;) you didnt need install.