Skip to content

Commit

Permalink
fix(cli): fix node version
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Nov 26, 2023
1 parent 57360a7 commit 88bfc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schematics/ng-add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 88bfc7b

Please sign in to comment.