diff --git a/schematics/ng-add/index.ts b/schematics/ng-add/index.ts index bdbfc8bf69..13fcf4ac09 100644 --- a/schematics/ng-add/index.ts +++ b/schematics/ng-add/index.ts @@ -63,7 +63,7 @@ export default function (options: NgAddOptions): Rule { // } const nodeVersion = getNodeMajorVersion(); - const allowNodeVersions = [16, 18]; + const allowNodeVersions = [18, 20]; if (!allowNodeVersions.some(v => nodeVersion === v)) { const versions = allowNodeVersions.join(', '); throw new SchematicsException(