🐞 TTK Errors when building Tab projects with AzFunc backend (Tab > React w/ Fluent UI) 🚨 TS1452: 'resolution-mode' assertions are only supported when moduleResolution
is node16
or nodenext
.
#12445
Labels
investigating
needs attention
This issue needs the attention of a contributor.
TA:Compute
Team Area: Compute
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**
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.
The text was updated successfully, but these errors were encountered: