CLI: Gun user deletion does not work
Perhaps library versions need bumping.
user@personal:~/Projects/samizdat/samizdat-cli$ node . --debug gun-user-delete test test
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
DEBUG :: setup_gun(): stub!
DEBUG :: setup_gun(): stub!
DEBUG :: pre-setup_gun
DEBUG :: setup_gun(): stub!
DEBUG :: post-setup_gun
DEBUG :: pre-promise; username: test
user.delete() IS DEPRECATED AND WILL BE MOVED TO A MODULE!!!
NO! Account must match! { '~WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM':
{ _:
{ '#':
'~WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM',
'>': [Object] },
pub: null } }
User 'test' successfully deleted.
Waiting for user deletion to propagate through the Gun network...
TypeError: Cannot read property 'm' of null
at Object.SEA.verify.SEA.verify (/home/user/Projects/samizdat/samizdat-cli/node_modules/gun/sea.js:443:33)
(node:23393) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'm' of null
at Object.SEA.verify.SEA.verify (/home/user/Projects/samizdat/samizdat-cli/node_modules/gun/sea.js:443:33)
(node:23393) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:23393) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
DEBUG :: +-- verifying user deletion propagated into the Gun network
DEBUG :: starting the confirmations-do-not-work timeout...
DEBUG :: +-- received data, user still exists
DEBUG :: pubkey: WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM
{ err: 'Error: No ACK received yet.', lack: true }
{ err: 'Error: No ACK received yet.', lack: true }
DEBUG :: confirmations-do-not-work timeout fired, exiting cleanly...
user@personal:~/Projects/samizdat/samizdat-cli$ node . --debug gun-user-pubkey test
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
DEBUG :: gun_user_pubkey()
DEBUG :: pre-setup_gun
DEBUG :: setup_gun(): stub!
DEBUG :: post-setup_gun
DEBUG :: pre-promise; username: test
WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM
user@personal:~/Projects/samizdat/samizdat-cli$ node . --debug gun-user-pubkey test
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
DEBUG :: gun_user_pubkey()
DEBUG :: pre-setup_gun
DEBUG :: setup_gun(): stub!
DEBUG :: post-setup_gun
DEBUG :: pre-promise; username: test
WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM