coleam00 / bolt.new-any-llm

Prompt, run, edit, and deploy full-stack web applications using any LLM you want!
https://bolt.new
MIT License
3.93k stars 1.61k forks source link

Unable to create a NextJS project #220

Open svzi opened 2 weeks ago

svzi commented 2 weeks ago

Describe the bug

I'm using this simple prompt to create a NextJS app:

Create a todo app with NextJS and Shadcn

Then I get this response:

image

And there it stands for ever. Spinning on the first command. Looking an the JavaScript console shows the following:

image

So I assume that the command to create the NextJS app is still waiting for a user feedback (if he wants to use Turbopack yes or no). I could be handled without user interaction,

We could make the command non-interactive by adding the --yes or -y parameter. Here's the complete command:

npx create-next-app@latest todo-app --typescript --eslint --tailwind --app --src-dir --use-npm --yes

Alternatively, we could also set all other parameters as defaults by prefixing them with --no- if you don't want them. For example:

npx create-next-app@latest todo-app --typescript --eslint --tailwind --app --src-dir --use-npm --no-import-alias --yes

The most important parameters are:

Link to the Bolt URL that caused the error

http://localhost:5173/chat/nextjs-shadcn-todo-app

Steps to reproduce

I installed the fork locally on my mac and run it with pnpm run dev.

And then simply use the aforementioned prompt:

Create a todo app with NextJS and Shadcn

Expected behavior

It should create a NextJS app and doesn't wait for user interactions that I can't do.

Screen Recording / Screenshot

No response

Platform

Additional context

No response

svzi commented 2 weeks ago

I would also like to note that I have no "Bolt" terminal, like at bolt.new where I can see what he does.

Here is the official version:

image

And here how it looks like when I run this fork locally:

Bildschirmfoto 2024-11-08 um 20 36 55
leex279 commented 1 week ago

next also not working for me. I also see it is not available within bolt, even my powershell says it is there: image

dpaluy commented 1 week ago

I'm getting a similar issue

It is stuck on the initial setup CleanShot 2024-11-11 at 16 46 03@2x

moemar commented 1 week ago

Same when trying Nuxt project.

image

joacorob commented 1 week ago

Same issue here!