Closed endaaman closed 7 years ago
I'm facing the same issue on fedora 25 coming with curl 7.51.0. It looks a trivial fix, so I've just sent PR #64.
@endaaman Please try nodebrew selfupdate
and nodebrew install-binary 7
. Thanks to @msfm
@endaaman Sorry, nodebrew selfupdate
will be failed, because selfupdate
uses curl
😓 You should re-install nodebrew with curl -L git.io/nodebrew | perl - setup
.
I think nodebrew selfupdate
works fine. Because selfupdate
does not use fetch_able
and it just fetches nodebrew from $nodebrew_url
.
In fact, I executed nodebrew selfupdate
and updating nodebrew worked fine on my environment (fedora 25).
@msfm Awesome 😍
Hi. nodebrew is very useful and Im using this in several evironments but I encountered a problem so I will inform that here.
nodebrew fails to fetch source or binary. Here is my outputs
Im not familiar with perl but I tried to look at the source code and found that
https://github.com/hokaccha/nodebrew/blob/master/nodebrew#L472
this
if
statement is evaluated as falsy andhttps://github.com/hokaccha/nodebrew/blob/master/nodebrew#L866
the result of
curl
command is unintended. Then when I tried the command that is excuted in nodebrew I gotSo I found the reason of the error is that the regexp
/200 OK/
is not matched withHTTP/2 200
. My curl (for Debian sid/unstable) version is7.52.1
.I am glad if you fixed to make compatible as soon as possible. Regards.