macosopen-sourcesupabasepnpm

Unable to setup supabase repository locally MacOS


I am currently using a MacOS M4 to setup the supabase repository locally. Unfortunately, after following the entire process to setup the repository, I keep encountering the error below using pnpm install:

enter image description here

I have all the dependencies installed as per the guide. Any suggestions?


Solution

  • I recently encountered this same issue. This happens because some packages on the repo are dependent on xcode to build. Since you are using a Mac, I'll suggest you install xcode. That solved the issue for me