You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: