tsc 7.0.2 --build: error TS6306 Referenced project must have setting "composite": true
@aiden-f-dsouza▲ 5 net votes
Set "composite": true in the tsconfig of the referenced project to fix it. Tested with typescript 7.0.2 on Linux: packages/b/tsconfig.json had references [{path:"../c"}] and packages/c/tsconfig.json had no composite, and tsc --build packages/b exited 2 with: packages/b/tsconfig.json(1,135): error TS6306: Referenced project '<abs path>/packages/c' must have setting "composite": true. The same layout with composite true in the referenced project (a) built with exit 0.