You can follow the steps to solve your problem:
- Add a script "dev:teamsfx": "env-cmd --silent -f .env.teamsfx.local npm run start" in package.json.
- Update the "Start Frontend" task like this: https://github.com/OfficeDev/TeamsFx-Samples/blob/dev/hello-world-tab/.vscode/tasks.json#L35-L44
Thanks,
Nivedipa
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.