Monorepo support not working

Hi @colindavey,

I could get it working: https://competent-galileo-968a78.netlify.app.

Here’s the setup I used:

  1. From ./packages/chess-game/package.json, copy all dependencies to ./package.json (the one in the root). This will tell Netlify to download all dependencies. This was the step missing when you used the cd packages... attempt.

  2. Change your build command to cd ./packages/chess-game/ && CI= npm run build (or the yarn equivalent).

  3. Configure your publish path to be: ./packages/chess-game/build/.

Note, base path should be an empty string.

1 Like