Stable Build fails: The dependency might be incompatible with the dep optimizer

Hi. I have tested the installation both by Docker and pnpm.

I tested with node version 20.9.0 and 22.14.0.

I run this command and the dependencies are installed without errors: pnpm install

The problem comes when I run the project and the browser screen goes completely blank:

This is what I get by CMD:

D:\bolt.diy>pnpm run dev

> bolt@0.0.7 dev D:\bolt.diy
> node pre-start.cjs  && remix vite:dev


★═══════════════════════════════════════★
          B O L T . D I Y
         ⚡️  Welcome  ⚡️
★═══════════════════════════════════════★

📍 Current Version Tag: v"0.0.7"
📍 Current Commit Version: "332edd3"
  Please wait until the URL appears here
★═══════════════════════════════════════★
 warn  Data fetching is changing to a single fetch in React Router v7
┃ You can use the `v3_singleFetch` future flag to opt-in early.
┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_singleFetch
┗
  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
[unocss] failed to load icon "lucide:clock"
[unocss] failed to load icon "lucide:message-square"
[unocss] failed to load icon "lucide:search"
[unocss] failed to load icon "ph:git-repository"
 INFO   LLMManager  Registering Provider:  Anthropic
 INFO   LLMManager  Registering Provider:  Cohere
 INFO   LLMManager  Registering Provider:  Deepseek
 INFO   LLMManager  Registering Provider:  Google
 INFO   LLMManager  Registering Provider:  Groq
 INFO   LLMManager  Registering Provider:  HuggingFace
 INFO   LLMManager  Registering Provider:  Hyperbolic
 INFO   LLMManager  Registering Provider:  Mistral
 INFO   LLMManager  Registering Provider:  Ollama
 INFO   LLMManager  Registering Provider:  OpenAI
 INFO   LLMManager  Registering Provider:  OpenRouter
 INFO   LLMManager  Registering Provider:  OpenAILike
 INFO   LLMManager  Registering Provider:  Perplexity
 INFO   LLMManager  Registering Provider:  xAI
 INFO   LLMManager  Registering Provider:  Together
 INFO   LLMManager  Registering Provider:  LMStudio
 INFO   LLMManager  Registering Provider:  AmazonBedrock
 INFO   LLMManager  Registering Provider:  Github
indexedDB is not available in this environment.
[unocss] The labeled variant is experimental and may not follow semver.
[unocss] failed to load icon "ph:file-json"
[unocss] failed to load icon "ph:microchip"
[unocss] failed to load icon "ph:node"
21:23:16 [vite] ✨ new dependencies optimized: remix-island, react-dnd, react-dnd-html5-backend, ai/react, @headlessui/react, date-fns, react-resizable-panels, @radix-ui/react-switch, shiki, @codemirror/autocomplete, @codemirror/commands, @codemirror/language, @codemirror/search, @codemirror/state, @codemirror/view, @radix-ui/react-popover, react-markdown, @radix-ui/react-dropdown-menu, @radix-ui/react-context-menu, jspdf, react-chartjs-2, chart.js, react-icons/tb, react-icons/bs, react-icons/si, react-icons/bi, react-icons/fa, @uiw/codemirror-theme-vscode, @codemirror/lang-vue, @codemirror/lang-javascript, @codemirror/lang-html, @codemirror/lang-css, @codemirror/lang-sass, @codemirror/lang-json, @codemirror/lang-markdown, @codemirror/lang-wast, @codemirror/lang-python, @codemirror/lang-cpp, rehype-raw, remark-gfm, rehype-sanitize, unist-util-visit, @xterm/addon-fit, @xterm/addon-web-links, @xterm/xterm, @radix-ui/react-collapsible, @radix-ui/react-scroll-area
21:23:16 [vite] ✨ optimized dependencies changed. reloading
The file does not exist at "D:/bolt.diy/node_modules/.vite/deps/chunk-E4CARP2M.js?v=1bed467b" which is in the optimize deps directory. The dependency might be incompatible with the dep optimizer. Try adding it to `optimizeDeps.exclude`.

And this what the browser console shows:

Se bloqueó la carga de un módulo de “http://localhost:5173/node_modules/.vite/deps/chunk-E4CARP2M.js?v=1bed467b” debido a un tipo MIME no permitido (“”).

Thank you in advance

Just reload the browser again, wait a bit and it will show bolt.diy. thats normal when running in dev mode.