mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update the error message
This commit is contained in:
@@ -4469,7 +4469,7 @@
|
||||
"category": "Error",
|
||||
"code": 5010
|
||||
},
|
||||
"Inferred common source directory differs from tsconfig directory, output layout will be changed.": {
|
||||
"The common source directory of '{0}' is '{1}'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.": {
|
||||
"category": "Error",
|
||||
"code": 5011
|
||||
},
|
||||
|
||||
@@ -133,6 +133,7 @@ import {
|
||||
getPackageScopeForPath,
|
||||
getPathFromPathComponents,
|
||||
getPositionOfLineAndCharacter,
|
||||
getRelativePathFromFile,
|
||||
getResolvedModuleFromResolution,
|
||||
getResolvedTypeReferenceDirectiveFromResolution,
|
||||
getResolveJsonModule,
|
||||
@@ -4275,7 +4276,9 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
|
||||
options.outDir ? "declarationDir" : undefined,
|
||||
chainDiagnosticMessages(
|
||||
chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information),
|
||||
Diagnostics.Inferred_common_source_directory_differs_from_tsconfig_directory_output_layout_will_be_changed,
|
||||
Diagnostics.The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another_path_to_adjust_your_output_s_file_layout,
|
||||
getBaseFileName(options.configFilePath),
|
||||
getRelativePathFromFile(options.configFilePath, dir59, getCanonicalFileName),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ export {};
|
||||
//// [DtsFileErrors]
|
||||
|
||||
|
||||
/app/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
/app/tsconfig.json(3,9): error TS5011: The common source directory of 'tsconfig.json' is '../.src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ export {};
|
||||
"compilerOptions": {
|
||||
"outDir": "bin",
|
||||
~~~~~~~~
|
||||
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is '../.src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
"typeRoots": ["../types"],
|
||||
"sourceMap": true,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/app/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
/app/tsconfig.json(3,9): error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "bin",
|
||||
~~~~~~~~
|
||||
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
"sourceMap": true,
|
||||
"mapRoot": "myMapRoot",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/tsconfig.json(5,5): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
/tsconfig.json(5,5): error TS5011: The common source directory of 'tsconfig.json' is './packages'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
/tsconfig.json(6,5): 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.
|
||||
@@ -11,7 +11,7 @@
|
||||
"declaration": true,
|
||||
"outDir": "temp",
|
||||
~~~~~~~~
|
||||
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is './packages'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
"baseUrl": "."
|
||||
~~~~~~~~~
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
packages/b/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
packages/b/tsconfig.json(3,9): error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
packages/b/tsconfig.json(5,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.
|
||||
@@ -9,7 +9,7 @@ packages/b/tsconfig.json(5,9): error TS5101: Option 'baseUrl' is deprecated and
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
~~~~~~~~
|
||||
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
"declaration": true,
|
||||
"baseUrl": ".",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
packages/lab/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
packages/lab/tsconfig.json(3,9): error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
packages/lab/tsconfig.json(5,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.
|
||||
@@ -9,7 +9,7 @@ packages/lab/tsconfig.json(5,9): error TS5101: Option 'baseUrl' is deprecated an
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
~~~~~~~~
|
||||
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
"declaration": true,
|
||||
"baseUrl": "../",
|
||||
|
||||
@@ -22,7 +22,7 @@ export default Foo;
|
||||
//// [DtsFileErrors]
|
||||
|
||||
|
||||
/foo/tsconfig.json(2,47): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
/foo/tsconfig.json(2,47): error TS5011: The common source directory of 'tsconfig.json' is '../.src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ export default Foo;
|
||||
{
|
||||
"compilerOptions": { "declaration": true, "declarationDir": "out" }
|
||||
~~~~~~~~~~~~~~~~
|
||||
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is '../.src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
}
|
||||
|
||||
+2
-2
@@ -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: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
/root/tsconfig.json(8,9): error TS5011: The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly 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: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -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: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
/root/tsconfig.json(8,9): error TS5011: The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly 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: Inferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
!!! error TS5011: The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist"
|
||||
@@ -81,7 +81,7 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist"
|
||||
@@ -104,7 +104,7 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -p /home/src/workspaces/project/tsconfig.json
|
||||
Output::
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist"
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
|
||||
@@ -56,7 +56,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
|
||||
@@ -58,7 +58,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
@@ -135,7 +135,7 @@ Output::
|
||||
[7m3[0m "moduleResolution": "node",
|
||||
[7m [0m [91m ~~~~~~[0m
|
||||
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mproject/tsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outDir": "dist",
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ declare const console: { log(msg: any): void; };
|
||||
|
||||
D:\home\src\tslibs\TS\Lib\tsc.js -p D:\Work\pkg1 --explainFiles
|
||||
Output::
|
||||
[96mtsconfig.json[0m:[93m13[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m13[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m13[0m "outDir": "./dist",
|
||||
|
||||
@@ -316,7 +316,7 @@ Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/
|
||||
[7m9[0m "baseUrl": ".",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m10[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m10[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m10[0m "outDir": "dist"
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] Starting compilation in watch mode...
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "../output",
|
||||
|
||||
+2
-2
@@ -38,7 +38,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] Starting compilation in watch mode...
|
||||
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './Scripts'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "outDir": "Static/scripts/"
|
||||
@@ -126,7 +126,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './Scripts'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "outDir": "Static/scripts/"
|
||||
|
||||
@@ -48,7 +48,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] Starting compilation in watch mode...
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m7[0m "outDir": "../dist"
|
||||
@@ -150,7 +150,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m7[0m "outDir": "../dist"
|
||||
|
||||
+3
-3
@@ -33,7 +33,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] Starting compilation in watch mode...
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist"
|
||||
@@ -169,7 +169,7 @@ Output::
|
||||
The file is in the program because:
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist"
|
||||
@@ -254,7 +254,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist"
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] Starting compilation in watch mode...
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist",
|
||||
@@ -160,7 +160,7 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mInferred common source directory differs from tsconfig directory, output layout will be changed.
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m3[0m "outDir": "dist",
|
||||
|
||||
+1
-1
@@ -294,7 +294,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 17,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './src/app'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/Users/someuser/work/applications/frontend/tsconfig.json"
|
||||
|
||||
+1
-1
@@ -294,7 +294,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 17,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './src/app'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/Users/someuser/work/applications/frontend/tsconfig.json"
|
||||
|
||||
+3
-3
@@ -349,7 +349,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -1340,7 +1340,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -1696,7 +1696,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
|
||||
+3
-3
@@ -302,7 +302,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -1068,7 +1068,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -1321,7 +1321,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
|
||||
+3
-3
@@ -260,7 +260,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -956,7 +956,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -1179,7 +1179,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
|
||||
+4
-4
@@ -257,7 +257,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -1232,7 +1232,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -2611,7 +2611,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -3793,7 +3793,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
|
||||
+5
-5
@@ -347,7 +347,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -1426,7 +1426,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -2396,7 +2396,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -3116,7 +3116,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
@@ -4859,7 +4859,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './own'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/tsconfig.json"
|
||||
|
||||
+1
-1
@@ -563,7 +563,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './app'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/home/src/projects/project/tsconfig.json"
|
||||
|
||||
+1
-1
@@ -563,7 +563,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 3,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './app'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/home/src/projects/project/tsconfig.json"
|
||||
|
||||
@@ -219,7 +219,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 6,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './somefolder'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/src/tsconfig.json"
|
||||
|
||||
+1
-1
@@ -231,7 +231,7 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"line": 6,
|
||||
"offset": 13
|
||||
},
|
||||
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"text": "The common source directory of 'tsconfig.json' is './somefolder'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/src/tsconfig.json"
|
||||
|
||||
Reference in New Issue
Block a user