cg_shellbot icon indicating copy to clipboard operation
cg_shellbot copied to clipboard

运行命令错误

Open Qa7060123 opened this issue 4 years ago • 2 comments

1

Qa7060123 avatar Aug 17 '20 15:08 Qa7060123

显示错误 /root/fclone_shell_bot/node_modules/node-pty/lib/unixTerminal.js:269 var handle = new Pipe(constants.SOCKET); ^

TypeError: Cannot read property 'SOCKET' of undefined at new PipeSocket (/root/fclone_shell_bot/node_modules/node-pty/lib/unixTerminal.js:269:40) at new UnixTerminal (/root/fclone_shell_bot/node_modules/node-pty/lib/unixTerminal.js:94:25) at Object.spawn (/root/fclone_shell_bot/node_modules/node-pty/lib/index.js:28:12) at new Command (/root/fclone_shell_bot/lib/command.js:22:18) at Bot. (/root/fclone_shell_bot/server.js:192:25) at Bot. (/root/fclone_shell_bot/node_modules/botgram/lib/message.js:87:22) at HandlerQueue.callHandler (/root/fclone_shell_bot/node_modules/botgram/lib/message.js:63:29) at Bot. (/root/fclone_shell_bot/node_modules/botgram/lib/message.js:86:43) at HandlerQueue.callHandler (/root/fclone_shell_bot/node_modules/botgram/lib/message.js:63:29) at Bot. (/root/fclone_shell_bot/node_modules/botgram/lib/message.js:86:43)

环境: python:3.6 ubuntu16.04

Qa7060123 avatar Aug 17 '20 15:08 Qa7060123

建议按照shellbot手动安装教程,把环境再装一下,应该是安装时有错误,你没注意

cgkings avatar Aug 19 '20 08:08 cgkings