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

[bug] CLI arguments do not work #390

Open
DanSM-5 opened this issue Dec 4, 2024 · 0 comments
Open

[bug] CLI arguments do not work #390

DanSM-5 opened this issue Dec 4, 2024 · 0 comments

Comments

@DanSM-5
Copy link

DanSM-5 commented Dec 4, 2024

I attempted to use qrcode from the command line but all command line arguments appear to be broken in some way.

  • The --version, -h or --help are processed as the <input string>
  • arguments -o, -t and -w cause a curl: (3) URL rejected: Malformed input to a URL function error.

Steps to reproduce

npm i -g qrcode
# Should install qrcode@1.5.4
qrcode -o test.png 'hello'
curl: (3) URL rejected: Malformed input to a URL function

I attempted with node 18 and 20. I didn't see any specific version of node mentioned.

Using qrcode as a node module works fine which means only the argument parsing may have issues.

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