Error TS5042: Option 'project' cannot be mixed with source files on a command line

while running npx nx start I saw a similar thread before here #Error TS5042: Option 'project' cannot be mixed with source files on a command line - Tried to re cloning the project on local didn't work ERROR:
nx run twenty-ui:build
vite v5.0.10 building for production... transforming... error TS5042: Option 'project' cannot be mixed with source files on a command line.
15 Replies
charles
charles6mo ago
what's your node and yarn version? 🙂
Muralidhar
MuralidharOP6mo ago
node: v18.17.1 , yarn: 4.0.2 @charles
charles
charles6mo ago
what's your folder path? could you go in your twenty folder and do pwd
Muralidhar
MuralidharOP6mo ago
Folder path: /Users/apple/Public/untitled folder/apps/twenty
No description
charles
charles6mo ago
ok, that's why 🙂 you should avoid have spaces in your folders name (here "untitled folder"), it's generally not supported (here I believe it's an issue with nx)
Muralidhar
MuralidharOP6mo ago
oh wow interesting, okay it's up, but what am I doing wrong again, @charles
No description
No description
charles
charles6mo ago
@Muralidhar could you post the whole output (as txt, screenshot is not the best way to share error logs 🙂 )
Muralidhar
MuralidharOP6mo ago
charles
charles6mo ago
schema "graphql" does not exist Have you followed https://docs.twenty.com/start/local-setup ?
arnavsaxena
arnavsaxena6mo ago
yes, and facing graphql does not exist
Muralidhar
MuralidharOP6mo ago
hey @arnavsaxena I am running postgres on docker on my local (my system: mac os intel) it's working fine
arnavsaxena
arnavsaxena6mo ago
I am doing make postgres-on-macos-arm and i get "graphql" does not exist. I have tried removing all versions of postgres from my system, ensuring I am running node 18.17.1. Yet, failing.
Muralidhar
MuralidharOP6mo ago
okay, I faced the issue while running postgres on local, not sure, why it happened, let's see if anyone can answer your query.
charles
charles6mo ago
Sorry for the slow answer here. I'm currenlty using postgres on mac os on my computer so it should work. Maybe the installation scripts are broken. What output do you get whil running make postgres-on-macos-arm?
arnavsaxena
arnavsaxena6mo ago
We are using macOS M2. We tried uninstalling all Postgres, all sets of things but still used to get graphql does not exist. We even tried to create a new user but gave the same error. Eventually, we erased and formatted our macOS and it started to work. Phew 😮‍💨
Want results from more Discord servers?
Add your server