Open mangandini opened 3 weeks ago
Can confirm, redproducibly hangs for me too at this step when creating a Next App. I was able to circumvent this limitation by asking it to manually create the app in the prompt, avoiding ´create-next-app´:
Build a text-based role-playing game using Next.js, TypeScript, App Router, and Tailwind CSS. Include features like character creation, turn-based combat, inventory management, and a simple storyline. Implement state management for game progress and use server-side rendering for improved performance.
Avoid using ´create-next-app´ but create the required files and folder layout yourself instead.
Certainly the LLM should be calling these tools in a non-interactive mode, but alternatively, the (tool) prompt requiring user input should be displayed in the webContainer terminal where h user can respond to the waitig prompt, without having to reproduce the command entirely.
The solution is probably twofold:
Describe the bug
I ran a sample prompt and bolt executed the first command:
Run command
npx create-next-app@latest youtube-clone --typescript --tailwind --eslint --app --src-dir --import-alias "@/*" && cd youtube-clone && npm install @heroicons/react date-fns
Bolt get stuck over this because the create next app command is waiting for a response
Console reads:
[2K[1G? Would you like to use Turbopack for next dev? › No / Yes
There is no way to input a response
Link to the Bolt URL that caused the error
http://127.0.0.1:3000/
Steps to reproduce
Bolt will return this
Expected behavior
Bolt must continue the process without waiting for an input
Screen Recording / Screenshot
Platform
Additional context
No response