oyiks
Just having white screen
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
22 replies
Just having white screen
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)
22 replies
Memory limit error when running project
I still have the same error.
npx nx start twenty-front
NX Running target start for project twenty-front and 2 tasks it depends on:
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
nx run twenty-ui:generateBarrels [local cache]
nx run twenty-ui:build [local cache]
nx run twenty-front:start➜ Local: http://localhost:3001/ node:events:492 throw er; // Unhandled 'error' event ^ Error [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory at new NodeError (node:internal/errors:405:5) at [kOnExit] (node:internal/worker:287:26) at Worker.<computed>.onexit (node:internal/worker:209:20) Emitted 'error' event on Worker instance at: at [kOnExit] (node:internal/worker:287:12) at Worker.<computed>.onexit (node:internal/worker:209:20) { code: 'ERR_WORKER_OUT_OF_MEMORY' } Node.js v18.17.1 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— NX Running target start for project twenty-front and 2 tasks it depends on failed Failed tasks: - twenty-front:start Hint: run the command with --verbose for more details.
80 replies