I am very new to the JS/Node js. I am having this issue with bot framework pleas help me with this.
TypeError: Cannot perform 'set' on a proxy that has been revoked at D:\Bot\Archi-bot-src\node_modules\botbuilder-core\lib\turnContext.js:360:40 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async UtilityService.communicationBuilder (D:\Bot\Archi-bot-src\resource\js\starup.js:18:7)
COde as follows:
const {
ActivityHandler,
MessageFactory,
BotAdapter,
ActivityTypes,
} = require("botbuilder");
const fs = require("fs");
const { nextTick } = require("process");
module.exports = class UtilityService {
constructor() {
console.log("Class created");
}
dummy() {}
async communicationBuilder(str, context) {
try {
await context.sendActivity(MessageFactory.text('Hello!','Hellos' ));
await next();
} catch (error) {
console.log(error);
}
}
};