Issue after execution to display the preview or launch the app

Hi everyone. Looking for help with this Issue.

During app creation by bolt.diy. Once finished coding it says run “npm run dev” in your terminal to launch the app.
Screenshot below: Sorry its in french so in english it says : it says run “npm run dev” in your terminal to launch the app.

Try to do a “npm install” manual in the terminal. then do “npm run dev” and see if it works.

I just tried and it says this:
C:\Users\Pc\bolt.diy>npm install
npm error Cannot read properties of null (reading ‘matches’)

npm error A complete log of this run can be found in: C:\Users\Pc\AppData\Local\npm-cache_logs\2024-12-13T11_29_56_692Z-debug-0.log

You are in the wrong terminal/shell. You have to do it within bolt in the webcontainer:

Or in the “Bolt Terminal”. Check this tab as well. If there is already something running, cancel it with CTRL+C and run the commands there.

1 Like

thanks man when i run it in the bolt terminal it displays some error so i decided to chat with bolt about how to fix this correctly and i’ve finally fixed it and understood how it works.

now do you have any idea about this screenshot in th preview of bolt ?

Good to hear.

Looks like this is what was implemented?

What was your prompt? Maybe export the chat and provide it so I can check.

1 Like

Okay so, initially I was creating an accounting app in bolt.new. Now I’ve imported the project to bolt.diy to continue designing the app. Then bolt.diy was importing it and stopped and told me to execute “npm install” & “npm run dev” I pursue it by installing and creating the project in vite etc… at the end everuthing zas okay and it display this screenshot in the preview.

did you compare the file structure bolt.new and bolt.diy?
Is it the same?
Looks like it is not getting the correct files/entry point for the application.
Instead showing the default page.

Thank you so far man. You right I’ve look at it and it wasn’t the same so I started over and import it again. After that executed some commande and it worked

Now the main issue that I encounter and prevents me use bolt.diy is this error in the screeshot once I prompt something and execut it. Saying "There was an error processing your request: No details were returned.
Even if I change the model and the one that work is Groq but after a few it restard again.

So far so good :slight_smile:

Check DEV-Tools (F12=> console) and your terminal where you startet bolt for errors if you did not do.

There should be something.

can be the context length exceeded. check the logs in the terminal where you started pnpm run dev command