T
Twenty3mo ago
JusFly

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?
No description
20 Replies
Prastoin
Prastoin3mo ago
Hello, what's your internet speed connection like ? please try running yarn cache clean What's your node version ?
JusFly
JusFlyOP3mo ago
node version is v22.12.0 yarn version is 4.4.0
JusFly
JusFlyOP3mo ago
Internet speed test
No description
Prastoin
Prastoin3mo ago
Nothing looking wrong here What OS are you working on ?
JusFly
JusFlyOP3mo ago
windows. and i followed all the steps carefully up to Step 6 which is installing dependencies.
Prastoin
Prastoin3mo ago
are you using wsl ?
JusFly
JusFlyOP3mo ago
yes, with docker
Prastoin
Prastoin3mo ago
Could your internet connection be slower within your container ?
JusFly
JusFlyOP3mo ago
not sure. but the only thing i'm running on docker is the redis. Even though i have redis locally.
Prastoin
Prastoin3mo ago
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
JusFly
JusFlyOP3mo ago
But i think it might be my internet connection. okay , will try that out and give you feedback.
Prastoin
Prastoin3mo ago
Sounds good ! good luck !
JusFly
JusFlyOP3mo ago
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.
No description
JusFly
JusFlyOP3mo ago
@prastoin
JusFly
JusFlyOP3mo ago
Starting all services at once with npx nx start causes a out of memory error
No description
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
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?
JusFly
JusFlyOP3mo ago
Yes, i'm using WSL i'm running it on my gitbash terminal.
JusFly
JusFlyOP3mo ago
the npx nx start twenty-server throws the JavaScript heap out of memory error.
No description
No description
JusFly
JusFlyOP3mo ago
@bob

Did you find this page helpful?