Hello, I’m struggling with the install. I search on many posts but didn’t find any similar reported.
I watched and re-did the install at least 8 times…
Still same issues…
First :
I did exactly what is mentionned in the video. git, node, pnpm, …
but when launching the “pnpm run dev” I get errors with the alias ~ which doens’t seem to be recognized.
I keep having this kind of error “Cannot find module ‘~/utils/constants’ imported from ‘C:/Users/user/Documents/bolt.diy/app/lib/.server/llm/create-summary.ts’”. I could replace all the ~ by the real path (…/… or so ) - could also define the path definition in vite.config.ts with
Second :
Having added this in vite.config.ts, the “~” issue seems solved but the I have the error
“Unexpected Server Error
TypeError: Cannot read properties of null (reading ‘useEffect’)”
The console does only show “Server Error 500”
I restarted the installation process many times. Checking node and pnpm version…
node : v22.13.1
npm : 11.0.0
pnpm : 9.4.0
and Windows 10 - 22H2
Hi @blaise6640,
which video you refering to? Mine or another?
Second question => Are you on the stable or main branch? If on stable, try use main quickly and see if it is working then.
You should not need to change any source code files to run bolt.
Ok, just to make sure, you startet then with a clean project again and reinstalled the dependencies with PNPM (not npm, cause if you did one time wrong and then just do PNPM after again, its not working).
git clone -b stable https://github.com/stackblitz-labs/bolt.diy.git
cd bolt.diy
pnpm install
pnpm run dev