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 needed for CLI #237

Closed
mgifford opened this issue Nov 22, 2023 · 1 comment
Closed

yargs needed for CLI #237

mgifford opened this issue Nov 22, 2023 · 1 comment

Comments

@mgifford
Copy link

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

@younglim
Copy link
Collaborator

Hey @mgifford, I have upgraded Node to LTS 20.10.0 and depebumped dependency version and did not find yargs missing. You may wish to try the latest commit from master.

#242

@younglim younglim closed this as completed Dec 5, 2023
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

2 participants