TS-rootDirs-problem Run npm install or yarn to install node_modules. Run ../node_modules/typescript/bin/tsc --traceResolution --noEmit from custom-src directory to see the error.