You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[{
"resource": "/c:/Users/XXX/TeamsApps/MyBasicTSBot/tsconfig.json",
"owner": "typescript",
"severity": 8,
"message": "Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.",
"source": "ts",
"startLineNumber": 5,
"startColumn": 15,
"endLineNumber": 5,
"endColumn": 25
}]
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue! We want to let you know that:
⏱️ Our team will personally review your issue
🎯 You can expect a response within 2 business days
✨ This is an AI-generated initial response
🤖 AI-Generated Preliminary Analysis:
The error you are encountering is due to a mismatch in the TypeScript tsconfig.json settings. Specifically, the module option must be set to NodeNext when the moduleResolution option is set to NodeNext. Here are the steps to resolve this issue:
Open the tsconfig.json file in your project directory.
Update the compilerOptions to ensure that both module and moduleResolution are set to NodeNext. Your tsconfig.json should look something like this:
Save the tsconfig.json file and try rebuilding your project.
This should resolve the error you are seeing. For further information, you can refer to the TypeScript documentation on module resolution options.
If you continue to encounter issues, please provide additional details or error messages, and I can assist you further.
Note: This is an automated first response generated by AI. A human team member will review your issue and provide a more detailed response soon. We appreciate your patience!
When creating a new BasicBot app in TS:
Create new app -> Bot -> BasicBot -> TS
The produced tsconfig has the following errors
The text was updated successfully, but these errors were encountered: