Build for monorepo with private GitHub packages fails

Hi Hillary,

Thanks for the reply, but I don’t think this thread offers the solution for me.

In my case, I’m using a monorepo but I don’t really want Netlify to threat it as such. That means I don’t want site-1 to resolve to local components but to the Github registry. So in my understanding I need to set the base directory to point to site-1 instead of the root and then create the .npmrc file via preinstall command mentioned in this answer and installing the (private) packages seems to work according to the logs but as soon as the code runs the build command those packages can’t get resolved.

I’m not sure how this is related but the logs also show yarn workspaces detected even though this shouldn’t be the case if I specify the base directory, correct?