yargs / yargs-parser

:muscle: the mighty option parser used by yargs
http://yargs.js.org/
ISC License
491 stars 120 forks source link

Yargs parser supports a minimum Node.js version #448

Closed brianmiro closed 2 years ago

brianmiro commented 2 years ago

Angular app Angular version : 5.0.0 Node version : 6.11.5 when build process is running I got

node_modules\yargs-parser\build\index.cjs:1007 throw Error(yargs parser supports a minimum Node.js version of ${minNodeVersion}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`); ^

Error: yargs parser supports a minimum Node.js version of 10. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions at Error (native) at Object. (\node_modules\yargs-parser\build\index.cjs:1007:15) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (\node_modules\convict\src\main.js:9:19)`

I know that the recomendation is update node version but the app need to run Node version 6 If I add YARGS_MIN_NODE_VERSION=6.11.5 works

Thanks in advance