ngx-translate-extract icon indicating copy to clipboard operation
ngx-translate-extract copied to clipboard

Reduce required Node version to 10

Open ViieeS opened this issue 4 years ago • 1 comments

I've done some testing and found that Node v11.5.0 or newer is required (to support array.flat()) which is reflected in v6.0.1

@biesbjerg How about not using Array.prototype.flat()? There are alternatives.

I guess a lot of people use Node v10, it's LTS 'till 2021-04-30.

Originally posted by @ViieeS in https://github.com/biesbjerg/ngx-translate-extract/issues/169#issuecomment-606393049

ViieeS avatar Mar 31 '20 13:03 ViieeS

My existing project is also on Node 10 and the only way I could get extract to work was to install NVM and switch Node versions just for using this tool, and then switch back.

Bit of a hassle but it's workable.

carys-cc avatar Mar 27 '21 12:03 carys-cc