T
Twenty4mo ago
saras

Make on linux command not working

I have build-essential but it is still not working
No description
43 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
Copied from #💻︱development just to be on the same page
No description
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
What does npx nx start --verbose return?
saras
sarasOP4mo ago
it does not return anything by now does it take long to execute? there is just a loading spinner
saras
sarasOP4mo ago
this is the out put
No description
ɃØĦɆᵾS
ɃØĦɆᵾS4mo 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
sarasOP4mo ago
I think i have forgot to copy env files let me try that
saras
sarasOP4mo ago
no the same error is there
No description
saras
sarasOP4mo ago
ok i think i got it
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
Could you explain what did you do in order to solve this?
saras
sarasOP4mo 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
ɃØĦɆᵾS4mo ago
Ah Classic CRLF problem Didn't think of it Good to know you've solved it
saras
sarasOP4mo ago
its done right?
No description
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
Yes, it's done
saras
sarasOP4mo ago
what is CRLF problem btw
ɃØĦɆᵾS
ɃØĦɆᵾS4mo 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
sarasOP4mo 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
ɃØĦɆᵾS4mo ago
Did you type localhost:3001? localhost:3000 is for GraphQL
saras
sarasOP4mo ago
yes
saras
sarasOP4mo ago
these are the logs i am seeing
No description
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
Okay, what does browser show when you go to localhost:3001? Blank page?
saras
sarasOP4mo ago
No description
saras
sarasOP4mo ago
tried running separately and this happened
No description
saras
sarasOP4mo ago
Hey @ɃØĦɆᵾS you still there?
thomast
thomast4mo 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
sarasOP4mo ago
sorry I didn't get it For me the frontend is not getting started Backend is working
thomast
thomast4mo ago
wait I see a space in your folder name all coding can you rename that folder without a space and try again
saras
sarasOP4mo ago
ok let me try
saras
sarasOP4mo ago
is this ok now? because the web page is still not getting loaded
No description
thomast
thomast4mo ago
what do you see on http://localhost:3001 ?
saras
sarasOP4mo ago
nothing it's just loading
thomast
thomast4mo ago
any errors in console/network?
saras
sarasOP4mo ago
no http://localhost:3000/graphql also not opening up
thomast
thomast4mo ago
do you have your backend running?
saras
sarasOP4mo ago
I have used npx nx start command it stats both right?
saras
sarasOP4mo ago
No description
saras
sarasOP4mo ago
all right it worked
saras
sarasOP4mo ago
thanks a lot for help
No description
saras
sarasOP4mo ago
the backend is taking too much time to start
thomast
thomast4mo ago
great !!
saras
sarasOP4mo 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
thomast4mo 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
thomast4mo 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
sarasOP4mo ago
ohh got it
Want results from more Discord servers?
Add your server