Yarn workspace monorepo not building on pages
Any idea why the build fails? I've tried numerous combinations for the build configs and can't seem to get it to work
3 Replies
so I need to add a build script here? This is my root package.json
I also have another package.json where my /web (react) project is, which has the actual craco build script
so because I'm using yarn workspaces, I normally run "yarn install" in the root directory, and then "yarn start" in the /packages/web project
not sure if you're familiar with yarn workspaces
not sure if this is right
evidently not lol
cd packages/web && yarn build should be placed in the build command?
it worked! thank you!!!!