-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Trying to make this working on a ubuntu 18.04, also tested on 20.04 and 16.04, and also tryed on mongo 3.2, 3.6 and 4.2 with node 8, 10 and 12. In almost all of them it gives me same error, detailed on next lines. Some times it gaves other, but could solve changing node version or ubuntu. Basically it throws me this error when I use the command "node scripts/sync.js index reindex"
Seems the problem is in async.js? -Don't know npm
/home/user/explorer/node_modules/bluebird/js/release/async.js:49
fn = function () { throw arg; };
^TypeError: Cannot read property '0' of undefined
at /home/user/explorer/lib/explorer.js:503:74
at Object.next (/home/user/explorer/lib/explorer.js:360:18)
at Object.syncLoop (/home/user/explorer/lib/explorer.js:376:10)
at Object.prepare_vout (/home/user/explorer/lib/explorer.js:497:20)
at /home/user/explorer/lib/database.js:117:13
at /home/user/explorer/lib/explorer.js:605:14
at Object.next (/home/user/explorer/lib/explorer.js:365:24)
at /home/user/explorer/lib/explorer.js:591:22
at Object.convert_to_satoshi (/home/user/explorer/lib/explorer.js:40:12)
at /home/user/explorer/lib/explorer.js:589:30
at /home/user/explorer/lib/explorer.js:476:14
at Object.next (/home/user/explorer/lib/explorer.js:365:24)
at Object.syncLoop (/home/user/explorer/lib/explorer.js:376:10)
at Object.is_unique (/home/user/explorer/lib/explorer.js:465:20)
at /home/user/explorer/lib/explorer.js:587:26
at /home/user/explorer/lib/explorer.js:552:16
at Object.next (/home/user/explorer/lib/explorer.js:365:24)
at /home/user/explorer/lib/explorer.js:549:16
at Object.next (/home/user/explorer/lib/explorer.js:360:18)
at Object.syncLoop (/home/user/explorer/lib/explorer.js:376:10)
at Object.get_input_addresses (/home/user/explorer/lib/explorer.js:546:22)
at /home/user/explorer/lib/explorer.js:584:22
Any help to solve this will be apreciated, if somnone need more details, just ask and I'll post them here.
Thanks you in advance.