Skip to content

The launch and debug fails to launch Microsoft 365 Agents playground in VSCode for a basic bot built from template #14404

@dushyantg123

Description

@dushyantg123

I have followed the steps to install the Agents Toolkit extensions following the instructions provided
https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/install-agents-toolkit?tabs=vscode

and subsequently created the basic custom engine agent following the steps noted here
https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/create-new-toolkit-project-vsc

Within VS Code, activity panel, Run And Debug -> I chose Debug in Microsoft 365 Agents Playground. I have tried it numerous times but I am not able to launch the playground.
Here are the error logs

  • Executing task: npm install --no-audit

up to date in 558ms

30 packages are looking for funding
run npm fund for details

  • Terminal will be reused by tasks, press any key to close it.

  • Executing task: npm run dev:teamsfx:playground

basicbot@1.0.0 dev:teamsfx:playground
env-cmd --silent -f .localConfigs.playground npm run dev

'env-cmd' is not recognized as an internal or external command,
operable program or batch file.

  • The terminal process "C:\Program Files\PowerShell\7\pwsh.exe -Command "npm run dev:teamsfx:playground"" terminated with exit code: 1.

  • Terminal will be reused by tasks, press any key to close it.

  • Executing task: npm run dev:teamsfx:launch-playground

basicbot@1.0.0 dev:teamsfx:launch-playground
env-cmd --silent -f env/.env.playground teamsapptester start

'env-cmd' is not recognized as an internal or external command,
operable program or batch file.

  • The terminal process "C:\Program Files\PowerShell\7\pwsh.exe -Command "npm run dev:teamsfx:launch-playground"" terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

Appreciate any feedback to help resolve this.
thank you
Dushyant

Metadata

Metadata

Assignees

Labels

needs attentionThis issue needs the attention of a contributor.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions