- Notifications
You must be signed in to change notification settings - Fork13.1k
Assume rootDir is the current configuration directory#62418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Changes from1 commit
859f6c1
25d86d2
717cfa8
3ca473b
1f2989e
00f8908
a0b3d17
cbb10d2
8636f8c
53a4c6e
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
error TS5055: Cannot write file '/bar.js' because it would overwrite input file. | ||
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. | ||
Visit https://aka.ms/ts6 for migration information. | ||
/root/tsconfig.json(8,9): error TS5011:The common source directoryof 'tsconfig.json' is '..'. The 'rootDir' setting mustbeexplicitly set to this or another path to adjust your output's file layout. | ||
Visit https://aka.ms/ts6 for migration information. | ||
/root/a.ts(1,21): error TS6059: File '/foo.ts' is not under 'rootDir' '/root'. 'rootDir' is expected to contain all source files. | ||
/root/a.ts(2,21): error TS6059: File '/bar.js' is not under 'rootDir' '/root'. 'rootDir' is expected to contain all source files. | ||
@@ -21,7 +21,7 @@ error TS5055: Cannot write file '/bar.js' because it would overwrite input file. | ||
"allowJs": true, | ||
"outDir": "bin" | ||
~~~~~~~~ | ||
!!! error TS5011:The common source directoryof 'tsconfig.json' is '..'. The 'rootDir' setting mustbeexplicitly set to this or another path to adjust your output's file layout. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Oh, users get this message even with an explicit I came up with this message only when the common source directory is inferred as something containing the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. am i missing something. there is no rootDir specified here? | ||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information. | ||
} | ||
} | ||
Uh oh!
There was an error while loading.Please reload this page.