Skip to content

Commit b539b2e

Browse files
Update packages/devextreme-schematics/src/migrate-config-components/template-migrator.ts
Co-authored-by: Arman Boyakhchyan <[email protected]>
1 parent 145bab5 commit b539b2e

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

packages/devextreme-schematics/src/migrate-config-components/template-migrator.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,15 @@ export async function applyInlineComponentTemplateMigrations(
8383
exec.logger.warn(
8484
'[config-migrator] Failed to import TypeScript. Skipping inline template migration.\n' +
8585
errorDetails +
86-
'The schematic attempted to find TypeScript using a 3-level fallback:\n' +
87-
' 1. Project search (your project\'s node_modules)\n' +
88-
' 2. Global search (global node_modules)\n' +
89-
' 3. Temporary install (automatic download)\n\n' +
90-
'To resolve this issue, install TypeScript in your project:\n' +
91-
' npm install typescript --save-dev\n\n'
86+
'The schematic attempted to import TypeScript from the following locations:\n' +
87+
' 1. Project node_modules\n' +
88+
' 2. Global node_modules\n' +
89+
' 3. Temporary installation (npm cache)\n\n' +
90+
'To resolve this issue, install TypeScript.\n\n' +
91+
'Project install:\n' +
92+
' npm install typescript --save-dev\n\n' +
93+
'Global install:\n' +
94+
' npm install -g typescript\n\n'
9295
);
9396
return;
9497
}

0 commit comments

Comments
 (0)