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:buildvite v5.0.10 building for production... transforming... error TS5042: Option 'project' cannot be mixed with source files on a command line.
15 Replies
what's your node and yarn version? 🙂
node: v18.17.1 , yarn: 4.0.2 @charles
what's your folder path? could you go in your twenty folder and do
pwd
Folder path:
/Users/apple/Public/untitled folder/apps/twenty
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)
oh wow interesting, okay it's up, but what am I doing wrong again, @charles
@Muralidhar could you post the whole output (as txt, screenshot is not the best way to share error logs 🙂 )
my bad
yes, and facing graphql does not exist
hey @arnavsaxena I am running postgres on docker on my local (my system: mac os intel) it's working fine
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.
okay, I faced the issue while running postgres on local, not sure, why it happened, let's see if anyone can answer your query.
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?
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 😮💨