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

502 Bad Gateway #118

Open
OlMi1 opened this issue Jan 15, 2022 · 0 comments
Open

502 Bad Gateway #118

OlMi1 opened this issue Jan 15, 2022 · 0 comments

Comments

@OlMi1
Copy link

OlMi1 commented Jan 15, 2022

Running the lib/api.js and visiting it (%IP%/api) leads to a 502 bad gateway error. What should I do?

Edit: Starting the api,js as root leads to:

0|api      |     at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:80:39)
0|api      |     at require (internal/modules/cjs/helpers.js:25:18)
0|api      |     at Object.<anonymous> (/home/pool/nodejs-pool/node_modules/bitcoinjs-lib/src/payments/p2pkh.js:4:17)
0|api      | TypeError: Object.fromEntries is not a function
0|api      |     at Object.<anonymous> (/home/pool/nodejs-pool/node_modules/bitcoinjs-lib/src/crypto.js:49:37)
0|api      |     at Module._compile (internal/modules/cjs/loader.js:778:30)
0|api      |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
0|api      |     at Module.load (internal/modules/cjs/loader.js:653:32)
0|api      |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
0|api      |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
0|api      |     at Module.require (internal/modules/cjs/loader.js:692:17)
0|api      |     at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:80:39)
0|api      |     at require (internal/modules/cjs/helpers.js:25:18)
0|api      |     at Object.<anonymous> (/home/pool/nodejs-pool/node_modules/bitcoinjs-lib/src/payments/p2pkh.js:4:17)
@OlMi1 OlMi1 changed the title CMake error 502 Bad Gateway Jan 15, 2022
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

1 participant