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

CLI not working #7

Closed
noraj opened this issue Nov 20, 2017 · 5 comments
Closed

CLI not working #7

noraj opened this issue Nov 20, 2017 · 5 comments

Comments

@noraj
Copy link

noraj commented Nov 20, 2017

I have this error when use h2url CLI:

$ ./node_modules/h2url/h2url.js https://127.0.0.1:3000
/usr/bin/env: ‘node --no-warnings’: No such file or directory

But /usr/bin/env node --no-warnings works if I write it in my shell.

@mcollina
Copy link
Owner

Which version of node are you using? which operating system are you on?
This is working fine on Node 8 or Node 9 on Mac OS X.

@noraj
Copy link
Author

noraj commented Dec 11, 2017

Node v9.2.0 on ArchLinux. I just tried on another machine and have the same behavior.

@noraj
Copy link
Author

noraj commented Dec 18, 2017

@mcollina Thx for the fix. I no longer have any error but I have an infinite loading instead and the result never shows up both with http or https.

$ ./node_modules/h2url/h2url.js https://github.com/
⠙ GET https://github.com/
$ ./node_modules/h2url/h2url.js http://www.tvcountdown.com
⠦ GET http://www.tvcountdown.com

@mcollina
Copy link
Owner

@noraj1337 are those http2-capable? have you tried with the embedded server.js file?

@noraj
Copy link
Author

noraj commented Dec 19, 2017

@mcollina My bad I didn't understand that h2url was http2 only.

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