yargs needed for CLI
mgifford opened this issue · 1 comments
mgifford commented
I tried to run the CLI with using Node.js v20.0.0:
% node cli.js -c -u https://www.va.gov
Got this error:
node:internal/errors:490
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/mgifford/node_modules/yargs/helpers' imported from /Users/mgifford/purple-hats/cli.js
...
I think this resolved the problem:
% npm install yargs