René's URL Explorer Experiment


Title: tsc v3.4RC: Incremental build fails when `--rootDir` passed on CLI · Issue #30457 · microsoft/TypeScript · GitHub

Open Graph Title: tsc v3.4RC: Incremental build fails when `--rootDir` passed on CLI · Issue #30457 · microsoft/TypeScript

X Title: tsc v3.4RC: Incremental build fails when `--rootDir` passed on CLI · Issue #30457 · microsoft/TypeScript

Description: TypeScript Version: 3.4.0-dev.20190316 Search Terms: incremental, False expression, both be relative Code //tsconfig.json { "compilerOptions": { "incremental": true, "outDir": "dist" } } $ tsc -p tsconfig.json --rootDir src Expected beha...

Open Graph Description: TypeScript Version: 3.4.0-dev.20190316 Search Terms: incremental, False expression, both be relative Code //tsconfig.json { "compilerOptions": { "incremental": true, "outDir": "dist" } } $ tsc -p t...

X Description: TypeScript Version: 3.4.0-dev.20190316 Search Terms: incremental, False expression, both be relative Code //tsconfig.json { "compilerOptions": { "incremental": true, "outDi...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/30457

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tsc v3.4RC: Incremental build fails when `--rootDir` passed on CLI","articleBody":"**TypeScript Version:**  3.4.0-dev.20190316\r\n\r\n**Search Terms:** incremental, False expression, both be relative\r\n\r\n**Code**\r\n\r\n```\r\n//tsconfig.json\r\n{\r\n    \"compilerOptions\": {\r\n        \"incremental\": true,\r\n        \"outDir\": \"dist\"\r\n    }\r\n}\r\n\r\n$ tsc -p tsconfig.json --rootDir src\r\n```\r\n\r\n**Expected behavior:**\r\nProject is built successfully.\r\n\r\n**Actual behavior:**\r\nBuild fails with `Error: Debug Failure. False expression: Paths must either both be absolute or both be relative`.\r\n\r\nWhen a project has this setup:\r\n\r\n * \"incremental\": true\r\n * `outDir` has value (doesn't matter if the value is from tsconfig.json or CLI)\r\n * `--rootDir ...` set from CLI\r\n\r\n**NOTE:** Build is successful when `rootDir` value is set in `tsconfig.json` (instead of passed on CLI).\r\n\r\nSo this will work:\r\n\r\n```\r\n//tsconfig.json\r\n{\r\n    \"compilerOptions\": {\r\n        \"incremental\": true,\r\n        \"outDir\": \"dist\",\r\n        \"rootDir\": \"src\"\r\n    }\r\n}\r\n\r\n$ tsc -p tsconfig.json\r\n```\r\n\r\n\r\n**Reproduction Link:** \r\nProject available here: https://github.com/Coridyn/ts34-incremental-issue\r\n\r\n**Related Issues:** N/A\r\n","author":{"url":"https://github.com/Coridyn","@type":"Person","name":"Coridyn"},"datePublished":"2019-03-18T05:50:08Z","url":"https://github.com/microsoft/TypeScript/issues/30457"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:14f3c3a5-7f97-a2fb-c799-c2845b0efcbf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCE2C:2463BD:2E0BD2F:3AD35CC:6B01B111
html-safe-nonce4cb8da25bd8e1d3134a9fd0a9c203ec92879846f52cab4d57328f465cb9dfeb9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTJDOjI0NjNCRDoyRTBCRDJGOjNBRDM1Q0M6NkIwMUIxMTEiLCJ2aXNpdG9yX2lkIjoiNzQzMjI4NDk2MTU1NTcyMjUxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd8cfb50b29c85b5e0b920a04f0ecb3391da848ec51baf11ce32cdb82eedd735f
hovercard-subject-tagissue:422047651
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/30457/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f41e1283dfd86fb287f9278bcb564ae0b42905b413f46adc7f5284fd4675faf5/microsoft/TypeScript/issues/30457
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f41e1283dfd86fb287f9278bcb564ae0b42905b413f46adc7f5284fd4675faf5/microsoft/TypeScript/issues/30457
og:image:altTypeScript Version: 3.4.0-dev.20190316 Search Terms: incremental, False expression, both be relative Code //tsconfig.json { "compilerOptions": { "incremental": true, "outDir": "dist" } } $ tsc -p t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCoridyn
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/30457#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F30457
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F30457
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/30457
Reloadhttps://github.com/microsoft/TypeScript/issues/30457
Reloadhttps://github.com/microsoft/TypeScript/issues/30457
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30457
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30457
tsc v3.4RC: Incremental build fails when --rootDir passed on CLIhttps://github.com/microsoft/TypeScript/issues/30457#top
https://github.com/orta
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 3.7.1https://github.com/microsoft/TypeScript/milestone/105
https://github.com/Coridyn
Coridynhttps://github.com/Coridyn
on Mar 18, 2019https://github.com/microsoft/TypeScript/issues/30457#issue-422047651
https://github.com/Coridyn/ts34-incremental-issuehttps://github.com/Coridyn/ts34-incremental-issue
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Mar 18, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2211924531
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Mar 18, 2019https://github.com/microsoft/TypeScript/issues/30457#issuecomment-474126118
https://github.com/nealeu
Neale Upstone (nealeu)https://github.com/nealeu
on Apr 10, 2019https://github.com/microsoft/TypeScript/issues/30457#issuecomment-481587100
not yet supportedhttps://github.com/ivogabe/gulp-typescript/issues/611
#29978https://github.com/microsoft/TypeScript/issues/29978
https://github.com/MikeMitterer
Mike Mitterer (MikeMitterer)https://github.com/MikeMitterer
on Apr 10, 2019https://github.com/microsoft/TypeScript/issues/30457#issuecomment-481662079
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Orta Therox (orta)https://github.com/orta
on Jun 12, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2408235994
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 3.6.0https://github.com/microsoft/TypeScript/milestone/93
on Jun 12, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2408236122
https://github.com/ulrichb
ulrichbhttps://github.com/ulrichb
on Jul 2, 2019https://github.com/microsoft/TypeScript/issues/30457#issuecomment-507600046
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
TypeScript 3.6.0https://github.com/microsoft/TypeScript/milestone/93
TypeScript 3.6.1https://github.com/microsoft/TypeScript/milestone/100
on Jul 19, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2496525879
Orta Therox (orta)https://github.com/orta
TypeScript 3.6.1https://github.com/microsoft/TypeScript/milestone/100
TypeScript 3.7.0https://github.com/microsoft/TypeScript/milestone/98
on Aug 6, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2537736239
Orta Therox (orta)https://github.com/orta
on Aug 20, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2570481621
Add support for taking relative CLI args and using them as absolute i…https://github.com/orta/TypeScript/commit/c6cc077467fbd04f51c1bcb28f4cd47849a7b993
https://docs.github.com/articles/closing-issues-via-commit-messages
c6cc077https://github.com/orta/TypeScript/commit/c6cc077467fbd04f51c1bcb28f4cd47849a7b993
Add support for taking relative CLI args and using them as absolute i…https://github.com/orta/TypeScript/commit/f0c081fcaa6adcf684e0f836d203e132dbb8bb11
https://docs.github.com/articles/closing-issues-via-commit-messages
f0c081fhttps://github.com/orta/TypeScript/commit/f0c081fcaa6adcf684e0f836d203e132dbb8bb11
Orta Therox (orta)https://github.com/orta
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
on Aug 20, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2570500221
Orta Therox (orta)https://github.com/orta
on Aug 20, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2570500398
Add support for taking relative CLI args and using them as absolute i…https://github.com/orta/TypeScript/commit/ccf8a9f0cd2ef93bcd5ae3cc4c6f4f41f551e1a8
https://docs.github.com/articles/closing-issues-via-commit-messages
ccf8a9fhttps://github.com/orta/TypeScript/commit/ccf8a9f0cd2ef93bcd5ae3cc4c6f4f41f551e1a8
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 3.7.0https://github.com/microsoft/TypeScript/milestone/98
TypeScript 3.7.1https://github.com/microsoft/TypeScript/milestone/105
on Oct 14, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2711297210
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Oct 14, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2711966196
Add test for #30457https://github.com/microsoft/TypeScript/commit/758bd99879b3074ced6668f9fe68acb6cfdcd7d3
#30457https://github.com/microsoft/TypeScript/issues/30457
758bd99https://github.com/microsoft/TypeScript/commit/758bd99879b3074ced6668f9fe68acb6cfdcd7d3
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 15, 2019https://github.com/microsoft/TypeScript/issues/30457#event-2714493789
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/30457#event-20415922687
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/30457
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30457
Orta Therox (orta)https://github.com/orta
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 3.7.1https://github.com/microsoft/TypeScript/milestone/105
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.