T
Twenty3mo ago
saras

Make on linux command not working

I have build-essential but it is still not working
No description
43 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Copied from #💻︱development just to be on the same page
No description
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
What does npx nx start --verbose return?
saras
sarasOP3mo ago
it does not return anything by now does it take long to execute? there is just a loading spinner
saras
sarasOP3mo ago
this is the out put
No description
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
It doesn't take much time, it'll "block" your terminal as long as you want to run the project But why it fails on npx nx start --verbose but not on npx nx start twenty-front? That's weird Just to make sure, did you run all commands for WSL from docs up to step 6? https://twenty.com/developers/local-setup
saras
sarasOP3mo ago
I think i have forgot to copy env files let me try that
saras
sarasOP3mo ago
no the same error is there
No description
saras
sarasOP3mo ago
ok i think i got it
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Could you explain what did you do in order to solve this?
saras
sarasOP3mo ago
dos2unix ./linux/provision-postgres-linux.sh ran this command first for all files chmod +x ./linux/provision-postgres-linux.sh then this and then finally ran the make command
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Ah Classic CRLF problem Didn't think of it Good to know you've solved it
saras
sarasOP3mo ago
its done right?
No description
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Yes, it's done
saras
sarasOP3mo ago
what is CRLF problem btw
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Stack Overflow
Difference between CR LF, LF and CR line break types
I'd like to know the difference (with examples if possible) between CR LF (Windows), LF (Unix) and CR (Macintosh) line break types.
saras
sarasOP3mo ago
will look into it thanks for your time do you actively contribute to this project the yoga graphql is working but the frontend is not opening
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Did you type localhost:3001? localhost:3000 is for GraphQL
saras
sarasOP3mo ago
yes
saras
sarasOP3mo ago
these are the logs i am seeing
No description
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Okay, what does browser show when you go to localhost:3001? Blank page?
saras
sarasOP3mo ago
No description
saras
sarasOP3mo ago
tried running separately and this happened
No description
saras
sarasOP3mo ago
Hey @ɃØĦɆᵾS you still there?
thomast
thomast3mo ago
Hi @saras, could you remove your twenty setup and start again following https://twenty.com/developers/local-setup please. Put all steps you follow in this thread 🙂
Twenty - Local Setup
Mostly for contributors or curious developers
saras
sarasOP3mo ago
sorry I didn't get it For me the frontend is not getting started Backend is working
thomast
thomast3mo ago
wait I see a space in your folder name all coding can you rename that folder without a space and try again
saras
sarasOP3mo ago
ok let me try
saras
sarasOP3mo ago
is this ok now? because the web page is still not getting loaded
No description
thomast
thomast3mo ago
what do you see on http://localhost:3001 ?
saras
sarasOP3mo ago
nothing it's just loading
thomast
thomast3mo ago
any errors in console/network?
saras
sarasOP3mo ago
no http://localhost:3000/graphql also not opening up
thomast
thomast3mo ago
do you have your backend running?
saras
sarasOP3mo ago
I have used npx nx start command it stats both right?
saras
sarasOP3mo ago
No description
saras
sarasOP3mo ago
all right it worked
saras
sarasOP3mo ago
thanks a lot for help
No description
saras
sarasOP3mo ago
the backend is taking too much time to start
thomast
thomast3mo ago
great !!
saras
sarasOP3mo ago
Can you pls tell me how that folder name solved the issue I would have never imagined this in my wildest of dreams 😅
thomast
thomast3mo ago
Stack Overflow
Typescript TS5042 Build: Option 'project' cannot be mixed with sour...
I am receiving the following error across all typescript projects that I am trying run. TS5042 Build: Option 'project' cannot be mixed with source files on a command line. I have downloaded a free
thomast
thomast3mo ago
you are supposed to call tsc --project <project_path> but with a space in your project path it thought you were adding several path
saras
sarasOP3mo ago
ohh got it
Want results from more Discord servers?
Add your server