Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行命令错误 #7

Open
Qa7060123 opened this issue Aug 17, 2020 · 2 comments
Open

运行命令错误 #7

Qa7060123 opened this issue Aug 17, 2020 · 2 comments

Comments

@Qa7060123
Copy link

Qa7060123 commented Aug 17, 2020

1

@Qa7060123
Copy link
Author

显示错误
/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

@cgkings
Copy link
Owner

cgkings commented Aug 19, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants