We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445af4c commit 8a83c6bCopy full SHA for 8a83c6b
packages/@ionic/cli-utils/src/lib/project/angular/generate.ts
@@ -208,8 +208,8 @@ ${chalk.cyan('[1]')}: ${chalk.bold('https://ionicframework.com/docs/cli/projects
208
private async getSchematics(): Promise<Schematic[]> {
209
if (!this.schematics) {
210
try {
211
- const { SchematicEngine } = await import('@angular-devkit/schematics');
212
- const { NodeModulesEngineHost } = await import('@angular-devkit/schematics/tools');
+ const { SchematicEngine } = await import( process.cwd() + '/node_modules/@angular-devkit/schematics');
+ const { NodeModulesEngineHost } = await import( process.cwd() + '/node_modules/@angular-devkit/schematics/tools');
213
214
const engineHost = new NodeModulesEngineHost();
215
const engine = new SchematicEngine(engineHost);
0 commit comments