enter image description here Each dependency is properly installed . The error is specific to the line :
const result = await summarizer.run(
`Summarize the following text: ${event.data.value}`
);
and the error is :
TypeError: Cannot read properties of undefined (reading 'step')
at async V1InngestExecution.userFnToRun (src\inggest\functions.ts:28:21)
26 | });
27 |
> 28 | const result = await summarizer.run(
| ^
29 | `Summarize the following text: ${event.data.value}`
30 | );
31 | console.log("Summarizer result:", result);
POST /api/inngest?fnId=visiora-development-hello-world&stepId=step 200 in 124msenter image description here