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

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. #20

Open
ksbomj opened this issue Oct 3, 2020 · 0 comments

Comments

@ksbomj
Copy link

ksbomj commented Oct 3, 2020

Hi,

Trying to test this library and encode a hashlink.

docker run --rm -t node bash -c 'git clone https://github.com/digitalbazaar/hashlink && cd hashlink && npm install && ./bin/hl encode --legacy --url "https://s21.q4cdn.com/798735247/files/doc_downloads/test.pdf"'

It throws:

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type object

Does anyone know what I doing wrong here?

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