Found this when searching for “typescript references has not been built from source file”.
My mistake was that I was running tsc -p tsconfig.json
when I should’ve been using the --build
flag: tsc --build tsconfig.json
. If you run with -p
TypeScript will not build the referenced projects. Only if you run with --build
.