Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10: cant run start.js cause bignum module is missing although (I think) I installed it. #190

Open
papajo-r opened this issue Jun 24, 2021 · 1 comment

Comments

@papajo-r
Copy link

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.

@JustFragger
Copy link

Copy url of ErgoStratum to package.json and replace. Then npm install it will install packages ;) you didnt need install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants