T
Twenty3mo ago
oyiks

Just having white screen

Hello everyone! After starting the app with this command 'npx nx run twenty-front:start' and running http://localhost:3001/ on my browser. I just seen a white screen and nothing more. What could be the problem?
15 Replies
Weiko
Weiko3mo ago
Your server is probably not running
oyiks
oyiksOP3mo ago
I used NODE_OPTIONS="--max-old-space-size=4096" npx nx run twenty-server:build AND yarn server:start:prod To start the server. If that's not correct, I did this because I was having memory issue on my wsl Hi Weiko, can you help me with my query?
thomast
thomast3mo ago
What's the output of yarn server:start:prod ? can you run yarn nx start twenty-server
oyiks
oyiksOP3mo ago
Nothing comes up after I put 'yarn server:start:prod' It just takes me to the next line.
thomast
thomast3mo ago
and the other command?
oyiks
oyiksOP3mo ago
This is the output yarn nx start twenty-server NX Running target start for project twenty-server and 2 tasks it depends on: ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
nx run twenty-emails:build [existing outputs match the cache, left as is]
nx run twenty-server:build [local cache]
rimraf dist
nest build --path ./tsconfig.build.json
- TSC Initializing type checker... ✔ TSC Initializing type checker...
TSC Found 0 issues. SWC Running...
Successfully compiled: 1514 files with swc (716.79ms)
nx run twenty-server:start
NODE_ENV=development && nest start --watch
⠋ TSC Initializing type checker...> SWC Running... Successfully compiled: 1514 files with swc (752.59ms) Watching for file changes. Illegal instruction (core dumped)
thomast
thomast2mo ago
don't see the error in your logs what doc did you followed to set up?
thomast
thomast2mo ago
Twenty - Local Setup
Mostly for contributors or curious developers
thomast
thomast2mo ago
could you provide all the steps you did
oyiks
oyiksOP2mo ago
wsl --install sudo apt-get install git git config --global user.name "Your Name" git config --global user.email "[email protected]" sudo apt-get install curl curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash corepack enable git clone https://github.com/twentyhq/twenty.git cd twenty docker run -d --name my-redis-stack -p 6379:6379 redis/redis-stack-server:latest cp ./packages/twenty-front/.env.example ./packages/twenty-front/.env cp ./packages/twenty-server/.env.example ./packages/twenty-server/.env nvm install # installs recommended node version nvm use # use recommended node version yarn npx nx database:reset twenty-server npx nx start twenty-server npx nx start twenty-front
GitHub
GitHub - twentyhq/twenty: Building a modern alternative to Salesfor...
Building a modern alternative to Salesforce, powered by the community. - twentyhq/twenty
oyiks
oyiksOP2mo ago
That's all the step I followed
Gary Feil
Gary Feil2mo ago
@oyiks , do you install docker?
oyiks
oyiksOP2mo ago
No I didn't
Gary Feil
Gary Feil2mo ago
yeah, got it @oyiks , plz accept my friend request
oyiks
oyiksOP2mo ago
I used the other option Alright then
Want results from more Discord servers?
Add your server