我有一个问题,我创建了一个机器人,这是一个临时vc,但我得到了一个错误,这是一个不一致的am未知频道有时机器人正在删除频道有时不 let isLeave = (oldMember.channel != undefined)
console.log(isLeave);
if (oldMember.channel.name.startsWith(
在名为"readPlcDataWriteToDB“的函数中,我需要在返回响应之前等待数据到来。我该怎么做呢? 我在关于这个问题的代码中得到了一个错误。当我添加" await“,比如"newData =await data;”,结果是一样的,没有效果。 请帮我解决这个问题。Tnx.. const asyncErrorWrapper = require("express-async-handler");
var nodes7 = require('nodes7'); // This is the package name, if th
catch(err =>{ })passport.use(Strategy);(node:14224) UnhandledPromiseRejectionWarning: TypeError: done is not a function
(node:13568) UnhandledPromiseRejectionWarning: Unhandled promise
(节点:7764) /Users/macbook/Desktop/node-project/server/routes/api/posts.js:19:24 at processTicksAndRejections(UnhandledPromiseRejectionWarning/process/TaskQuees.js:94:5)(节点:7764) UnhandledPromiseRejectionWarning:未处理的