Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yargs parser supports a minimum Node.js version #448

Closed
brianmiro opened this issue Jul 11, 2022 · 0 comments
Closed

Yargs parser supports a minimum Node.js version #448

brianmiro opened this issue Jul 11, 2022 · 0 comments

Comments

@brianmiro
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant