Error in Local Setup
Hi everyone, I am trying to setup
twenty
locally, but facing some issue here. Firstly when i ran npm install
it shows me the following error
So, in package.json file I changer the passport version to a supportin version 0.6.0
. Now when i ran npm install
it shows me the following error
21 Replies
Try following the instruction https://twenty.com/developers/local-setup
Twenty - Local Setup
Mostly for contributors or curious developers
the local setup one has a lot of problems, try to run it from one-line script with docker
The local setup works fine, the problem is with docker as more and more people are reporting bugs with 1-click deploy
Also, logs show that instead of using newest version, there's 0.2.1 version used
I am following that only still getting those errors
With
yarn
?with yarn it doesnot output anything
Okay, but did you run
nvm install
and nvm use
? Twenty uses 18.17.1 version of nodeyeah
🤔
@melsonic you should be using yarn 🙂
Twenty - Local Setup
Mostly for contributors or curious developers
I have used
yarn
also, but it doesn't output anything.
@charles@melsonic could you wipe out your twenty folder and retry using the exact steps from the local-setup guide and tell me if it fails at some point. you might have broken things while trying to use npm
hi @charles I tried to redo all the steps, but still running
yarn
stucks.Also, while running
make postgres-on-linux
it shows an error cound not change directory
, because resolve_symlinks()
function tries chdir
to the original directory and raises the issue if it doesn't have the permissions. Although the commands were executed successfully, it looks like an error which could be solved. Should i raise an issue on it and raise a PR?It's already reported https://github.com/twentyhq/twenty/issues/6319
GitHub
make postgres-on-linux uses sudo unexpectedly · Issue #6319 · twent...
Following instructions in https://twenty.com/developers/local-setup I've ended up running make postgres-on-linux but that command used sudo and did administrative tasks, which wasn't antici...
ooh, thanks @ɃØĦɆᵾS
I am also trying to locally setup Twenty in my wsl 4-6 times but everytime some or the other thing went wrong.
@premraj9864 could you detail more, I haven't tried the WSL setup in a longtime, if we need to update it we can update it 🙂