From 4b6b0c99dda4dfe7f0037edaaa4485ccf81a2216 Mon Sep 17 00:00:00 2001 From: cipchk Date: Tue, 31 Oct 2023 15:23:38 +0800 Subject: [PATCH] chore: update --- schematics/ng-add/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schematics/ng-add/index.ts b/schematics/ng-add/index.ts index 720aabc171..628132b04f 100644 --- a/schematics/ng-add/index.ts +++ b/schematics/ng-add/index.ts @@ -85,11 +85,11 @@ export default function (options: NgAddOptions): Rule { } const nodeVersion = getNodeMajorVersion(); - const allowNodeVersions = [14, 16, 18]; + const allowNodeVersions = [16, 18]; if (!allowNodeVersions.some(v => nodeVersion === v)) { const versions = allowNodeVersions.join(', '); throw new SchematicsException( - `Sorry, currently only supports ${versions} major version number of node (Got ${process.version}), pls refer to https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3` + `Sorry, currently only supports ${versions} major version number of node (Got ${process.version}), pls refer to https://angular.io/guide/versions` ); }