Error while running bolt.diy in local directory

i got error when run a command in bold.diy

When i run any command then a message appears on screen:

There was an error processing your request: An error occurred.

Also in console an other message shows at a same time:

Show 59 more frames
2
logger.ts:85 ERROR Chat Request failed

Error: An error occurred.

Also another error shows in terminal:

Error: No route matches URL "/meta.json"
    at getInternalRouterError (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+router@1.21.0\node_modules\@remix-run\router\router.ts:5505:5)
    at Object.query (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+router@1.21.0\node_modules\@remix-run\router\router.ts:3527:19)
    at handleDocumentRequest (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+server-runtime@2.15.0_typescript@5.7.2\node_modules\@remix-run\server-runtime\dist\server.js:275:35)
    at requestHandler (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+server-runtime@2.15.0_typescript@5.7.2\node_modules\@remix-run\server-runtime\dist\server.js:160:24)
    at E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+dev@2.15.0_@remix-run+react@2.15.0_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_3djlhh3t6jbfog2cydlrvgreoy\node_modules\@remix-run\dev\dist\vite\cloudflare-proxy-plugin.js:70:25
No routes matched location "/meta.json"
ErrorResponseImpl {
  status: 404,
  statusText: 'Not Found',
  internal: true,
  data: 'Error: No route matches URL "/meta.json"',
  error: Error: No route matches URL "/meta.json"
      at getInternalRouterError (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+router@1.21.0\node_modules\@remix-run\router\router.ts:5505:5)
      at Object.query (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+router@1.21.0\node_modules\@remix-run\router\router.ts:3527:19)
      at handleDocumentRequest (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+server-runtime@2.15.0_typescript@5.7.2\node_modules\@remix-run\server-runtime\dist\server.js:275:35)
      at requestHandler (E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+server-runtime@2.15.0_typescript@5.7.2\node_modules\@remix-run\server-runtime\dist\server.js:160:24)
      at E:\bolt\bolt.diy\node_modules\.pnpm\@remix-run+dev@2.15.0_@remix-run+react@2.15.0_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_3djlhh3t6jbfog2cydlrvgreoy\node_modules\@remix-run\dev\dist\vite\cloudflare-proxy-plugin.js:70:25
}
No routes matched location "/meta.json"

tell me the solution of this issue. I am facing this issue in 0.3, 0.4 and now latest also

1 Like

Hi and welcome @mirzaahmed0303,

how did you install bolt? Please also add some screenshots of your terminal and bolt + dev-tools open.

i download this bolt.diy using github : GitHub - stackblitz-labs/bolt.diy: Prompt, run, edit, and deploy full-stack web applications using any LLM you want!

Ok, but the question is how you installed the dependencies etc.

My guess is that there is something wrong. Also you are on the main branch if you used the git link above. You should use the stable one, as mentioned in the docs:
https://stackblitz-labs.github.io/bolt.diy/#prerequisites

You can also take a look at my youtube video and follow it to install:

1 Like

Thanks now let me check this method also tell me this:

An error occurred: Sorry, new users can only put one embedded media item in a post.

how can i bypass this to upload images

At the moment there is no way to bypass it. I already talked about this with @ColeMedin and he will take a look what we can do or will do in the future to not restrict new users that much, but also make sure we dont get spammed.

You can sent me the screenshots via PM if you want but I recommend just check the install process with my video again (start from scratch) and see how it goes.

2 Likes

Thang you so much it works with your method but only on google api. On other api, it gave me same error.

1 Like

Your welcome,

it google works and you got problems with the others, then something is wrong with them. Either your API do not work (you can verify with curl against the the api directly and see if it works), or you reached some ratelimits etc. So not a bolt issue itself.

2 Likes