can anyone tell why its giving error import { Bot...
# đź’»developers
f
can anyone tell why its giving error import { Bot } from '@botpress/sdk' import { z } from 'zod' import { flowwise } from '.botpress'; console.log("flowwise",JSON.stringify(flowwise)); // import * as botpress from '.botpress' /** uncomment to get generated code */ // const bot = new Bot({ // integrations: {}, // configuration: { // schema: z.object({}), // }, // states: {}, // events: {}, // recurringEvents: {}, // }) const bot = new Bot({ // @ts-ignore integrations: [ // @ts-ignore new flowwise({ enabled: true, config: { botToken: 'xxxxx', }, }) ], configuration: { schema: z.object({}), }, states: {}, events: {}, recurringEvents: {}, }) // @ts-ignore bot.message('', async ({ message, client, ctx }) => { await client.createMessage({ conversationId: message.conversationId, userId: ctx.botId, tags: {}, type: 'text', payload: { text:
Hello. You said: "${message.payload.text}"
, }, }) }) export default bot; after runnning bp dev it says La is not a constructor