This is a example of bolt breaking after it starts to code. Why am I getting this error?
It also breaks with trying to use Vite.
I tried running ‘npm install’ in the terminal before starting bolt.diy
I get the error:
npm error Cannot read properties of null (reading 'matches')
npm error A complete log of this run can be found in: /home/xxx/.npm/_logs/2024-12-19T02_19_20_719Z-debug-0.log
Not sure what to look for in the debug file, but I did grab this:
I’m assuming Llama 3.1 (8B)? lol. That’s funny. Are you using Ollama to run it, or an API… because if an API, I would choose a more capable model, like Qwen2.5 72B Instruct, Qwen2.5 Coder 32B, Llama 3.3 70B Instruct, etc.
And for local, if you are running Ollama or LMStudio, I would suggest the largest quantized your machine will support, likely the Qwen2.5 Coder models (14B, etc.)