'unable to load from yargs in nodejs
Solution 1:[1]
It's because there is no property argv on yargs.
If you read the documentation, they give examples like:
import yargs from 'yargs';
var argv = yargs(process.argv.slice(2));
console.log(argv.argv);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ben |

