Stuck in the Installing dependency phase
I have been at this point for the past 20 - 30 mins
i ran the
yarn
command and it won't pass this phase.
i canceled it and ran the yarn
command again, got to the Link Step
phase and hanged.
What am i doing wrong?
20 Replies
Hello, what's your internet speed connection like ?
please try running
yarn cache clean
What's your node version ?node version is v22.12.0
yarn version is 4.4.0
Internet speed test

Nothing looking wrong here
What OS are you working on ?
windows.
and i followed all the steps carefully up to Step 6 which is installing dependencies.
are you using wsl ?
yes, with docker
Could your internet connection be slower within your container ?
not sure. but the only thing i'm running on docker is the redis.
Even though i have redis locally.
Pleae try debugging your dev env agnostically of twenty in the first place
By running a hello world example or basic yarn project
High chances this is coming from your dev env
But i think it might be my internet connection.
okay , will try that out and give you feedback.
Sounds good ! good luck !
finally got it to run , but once i run the
npx nx database:reset twenty-server
i get the above error in the screen shot.
@prastoin
Starting all services at once with
npx nx start
causes a out of memory error
Are your database and redis working properly? Seems like redis is down or has problems
This looks similar to errors reported by users who tried to run twenty in WSL, are you using WSL by any chance?
Yes, i'm using WSL
i'm running it on my gitbash terminal.
the
npx nx start twenty-server
throws the JavaScript heap out of memory
error.

@bob
Please allow more disk space using https://stackoverflow.com/questions/56982005/where-do-i-set-node-options-max-old-space-size-2048