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
Your server is probably not running
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?
What's the output of
yarn server:start:prod
?
can you run yarn nx start twenty-server
Nothing comes up after I put 'yarn server:start:prod'
It just takes me to the next line.
and the other command?
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)
don't see the error in your logs
what doc did you followed to set up?
Twenty - Local Setup
Mostly for contributors or curious developers
could you provide all the steps you did
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
That's all the step I followed
@oyiks , do you install docker?
No I didn't
yeah, got it
@oyiks , plz accept my friend request
I used the other option
Alright then