You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No error, obviously. Note that there's no error with -b tsconfig.json.
Actual behavior:
It throws because it expects tsconfig.json to be an absolute path.
Error: Debug Failure. False expression: Paths must either both be absolute or both be relative
at Object.getRelativePathFromDirectory (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:12564:18)
at relativeToBuildInfo (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:76859:52)
at convertToReusableCompilerOptionValue (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:76884:24)
at convertToReusableCompilerOptions (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:76867:32)
at getProgramBuildInfo (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:76825:22)
at Object.newProgram.getProgramBuildInfo (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:76957:63)
at Object.getProgramBuildInfo (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:74728:291)
at emitBuildInfo (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:69511:32)
at emitSourceFileOrBundle (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:69484:13)
at forEachEmittedFile (/Users/klaus/code/test/node_modules/typescript/lib/tsc.js:69294:28)
TypeScript Version: 3.6.0-dev.20190711
Search Terms:
Code
Expected behavior:
No error, obviously. Note that there's no error with
-b tsconfig.json
.Actual behavior:
It throws because it expects
tsconfig.json
to be an absolute path.Playground Link:
Related Issues:
Seems to be caused by ##31985 (@sheetalkamat)
The text was updated successfully, but these errors were encountered: