OfficeDev / teams-toolkit-samples

Scenario-focused sample applications that help you get started with building Microsoft Teams App.
MIT License
356 stars 245 forks source link

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client #1330

Closed xxxpsyduck closed 1 month ago

xxxpsyduck commented 2 months ago

I'm having this issue when trying to debug sample teams app. It looks like a bug of teamsfx?

image

qinezh commented 2 months ago

@xxxpsyduck which sample app are you using? And could you provide the repro steps?

xxxpsyduck commented 2 months ago

@qinezh I follow these steps:

Team Toolkit VSCode extension -> Create New App -> Custom Copilot -> AI Agent -> Build New -> Python -> Azure OpenAI -> ...

I haven't changed anything in the code yet. Just tried to run debug in Test tool

qinezh commented 2 months ago

@xxxpsyduck, I can't repro the issue on my side, would you provide more information to help us troubleshoot it or can you try it again to see whether it still happens?

xxxpsyduck commented 2 months ago

@qinezh sorry may i know which information that you need? I'm using node version 22.9 and I only followed the steps above