Error in local Setup in yarn

I am trying to set up loacally on my Mac. But whiling doing this I am getting error after running Yarn. Steps I followed : 1.Installed git , Node v18, Yarn v4(using corepack enable) and nvm using given links in doc. 2.Then cloned using SSH and run cd twenty 3.Installed database locally with brew 4.Installed redis 5. Copied .env.exmaple files to /front and /server 6.and Ran Yarn, this is when I ran into errors , as it was not completely successful
No description
No description
18 Replies
shyamsundertard
shyamsundertardOP2mo ago
But still moved further and followed next steps: 1.Started Redis server 2.Setup Database with given command (npx nx database:reset twenty-server), And I got errors after this also
No description
shyamsundertard
shyamsundertardOP2mo ago
@Raph
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
Yarn warnings aren't anything serious, don't worry about them Are both postgres and redis running? Redis is simply a cache, it stores only temporary data Postgres is a database which stores all of the data
shyamsundertard
shyamsundertardOP2mo ago
@bob Yes they are running, but there is also error after resetting servers, I have attached its screenshot in first comment.
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
Okay, let me check something
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
It seems like you're missing the last extension
shyamsundertard
shyamsundertardOP2mo ago
Let me check I tried to check List of Installed extensions but \dx is not working in my mac. Even I tried to reinstall postgres but still not working
charles
charles2mo ago
@shyamsundertard as @bob said yarn warning are not significant Regarding the postgres extension you are missing the wrappers but you should be fine as long as you don't try to use one feature called "Remote objects". Our setup regarding this feature / wrapper is quite broken in local setup So I don't think the error you see are the root cause could you share with me the content of your db (the schema list should be good enough), and your server logs when you start it (npx nx run twenty-server:start)
shyamsundertard
shyamsundertardOP2mo ago
I tried to setup it again but now I'm getting error at database setup (make postgres-on-macos-arm)
No description
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
It looks like for some reason reinstalling postgres didn't create again postgres table which is the most basic table containing all information about other databases and tables, I'm not sure how can I help you as I don't have Mac
shyamsundertard
shyamsundertardOP2mo ago
I have resolved this db creating error. Schema has been created successfully. But still this error is occuring after running:npx nx database:reset twenty-server, is it of any concern?
shyamsundertard
shyamsundertardOP2mo ago
I am unable to check Schema as "psql -U postgres" is not connecting to DB but I have attached logs of "npx nx start twenty-server" command, and this is not giving any erros. If possible , kindly guide me to check contents of Schema list of my DB.
No description
No description
No description
No description
charles
charles2mo ago
your server seems to be fine but your database does not seem to be properly set up? could you see if it's running? otherwise if you have experience with docker you can direclty use postgres container (see local setup guide)
shyamsundertard
shyamsundertardOP2mo ago
It's running.
No description
shyamsundertard
shyamsundertardOP2mo ago
@charles @bob I think now repo clone is working. Am I right? Is there anything else I should check?
No description
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
Just log in If you can log in, then database is set properly
shyamsundertard
shyamsundertardOP2mo ago
Yes, I am able to log in. A big thanks to @charles and @bob for your time and help!
Want results from more Discord servers?
Add your server