Open blackchoey opened 1 month ago
Hey @blackchoey, thanks for the FYI. To note, I have a PR that will be updating our tsconfigs to ESNext: https://github.com/microsoft/teams-ai/pull/2034 (I hadn't realized that we weren't using ESNext in the samples).
With these changes I'll test out echobot and get back to you.
Question
Right now projects using typescript < 5.3.0 will meet build failure if the project references Teams-AI library. Seems the recent MSAL-JS library release causes this issue. However, the botbuilder sdk does not have similar build failures, though it also references MSAL.
Though higher typescript version seems be able to fix the build errors. I'm raising this question to see whether some changes (e.g. tsconfig, etc.) are required in Teams-AI to avoid such kind of errors, so users with lower typescript version (like an existing project developed earlier) won't meet the error.
Here're the sample error message:
And here're the repro steps:
5.2.2
npm install
andnpm run build
command under the echo bot project's root folder. You will see the build failure.Code snippets
N/A
What you have tried already
Here're current observations:
moduleResolution
andmodule
compiler options tonodenext