Open andrewconnell opened 2 hours ago
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.
Describe the bug When building a new project using the Tab > React w/ Fluent UI > TypeScript template, the Watch Backend task that runs the following
npm run watch:teamsfx
in the ./api Azure Function subfolder throws a bunch of TypeScript compilation errors that emit from @azure/msal-common, @azure/msal-node, & botframework-streaming packages.I've observed this on three of my machines (all MacOS, two MacOS v14, one v15) & in multiple student machines (mix of MacOS & Windows).
Confirmed I'm using Node.js v18 & tried running the
npm run watch:teamsfx
from the ./api folder from a new terminal window.Click to view errors ❌ in the terminal window output from **Watch Backend**
```console [3:38:29 PM] Starting compilation in watch mode... node_modules/botframework-connector/node_modules/@azure/msal-common/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts:1:23 - error TS1452: 'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`. 1 ///To Reproduce Steps to reproduce the behavior:
Expected behavior The task Watch Backend runs without errors.
Screenshots n/a
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):
Additional context
Looks related to #12430 ... same workaround in #12430 mitigates this.