if (e.MsgType === 1) {
var reg = /hen+[a-z0-9-A-Z]+/;
if (reg.exec(e.Content)) {
const subprocess = self.getT5Key(e.Content);
subprocess.stdout.on('data', (data) => {
window.alert(`${data}`);
});
}
}
报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.
有什么解决办法没?
我在session.js 194行增加
报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. 有什么解决办法没?