Open newtonke opened 4 years ago
Happens on OSX as well.
@newtonke @RRaadi @Alex-Rose There is some problems because
latest version of NPM‘s code is different from GitHub’s code
There is no callback function in
fs.unlink(path.resolve(__dirname, '../', this.filename)
Select conversation :
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined at makeCallback (fs.js:151:11) at Object.unlink (fs.js:1057:14) at Crypt.flush (/usr/local/lib/node_modules/fb-messenger-cli/lib/crypt.js:64:12) at InteractiveCli.exit (/usr/local/lib/node_modules/fb-messenger-cli/lib/interactive.js:555:15) at InteractiveCli.handleCommands (/usr/local/lib/node_modules/fb-messenger-cli/lib/interactive.js:406:25) at Interface.InteractiveCli.handler (/usr/local/lib/node_modules/fb-messenger-cli/lib/interactive.js:466:21) at Interface.emit (events.js:321:20) at Interface._onLine (readline.js:327:10) at Interface._line (readline.js:656:8) at Interface._ttyWrite (readline.js:997:14) { code: 'ERR_INVALID_CALLBACK' }