-
Notifications
You must be signed in to change notification settings - Fork 757
Description
Describe the bug
Copilot hung while trying to run npx create-next-app.
The issue seems to be that the CLI command returned an error and copilot wasn't able to handle the failure:
The directory llm-games-v2 contains files that could conflict:
IMPLEMENTATION_CHECKLIST.md
SPEC.md
Either try using a new directory name, ore remove the files listed above.
It may have also been that the command required user input to approve installing create-next-app, I'm not 100% sure.
I eventually had to abort the operation and when i tried again, the conversation history was messed up leading to model call failures:
Affected version
0.0.342 Commit: 69ac520
Steps to reproduce the behavior
- Create a folder and add files to that folder with content in them
- Run copilot
- Have it scaffold a next.js app
- Abort the operation
- Try to resume
I tried to repo from scratch and copilot succeeds in other contexts but failed multiple times trying to do this in the original scenario.
Expected behavior
Ideally Copilot could gracefully handle the failure, show the error to the user, and work around it. It should also be easy to resume the conversation after aborting the failure.
Not seeing the CLI outputs makes it much harder to understand what's going on. Often the output shows "thinking" when it's really waiting for the CLI to finish.
Additional context
No response