-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
nvm install node
will not find/install the binaries on linux
running in ChromeOS
containier.
#2923
Comments
Ahhh Sorry! This does seem to duplicate a few issues. Tried running this through I figured it was something in my ─❯ nvm install -b node ─╯
Downloading and installing node v19.0.0...
Downloading https://nodejs.org/dist/v19.0.0/.tar.xz... # Incorrectly set here...
curl: (22) The requested URL returned error: 404
Binary download from https://nodejs.org/dist/v19.0.0/.tar.xz failed, trying source.
grep: /home/jordyjwilliams/.config/nvm/.cache/bin//.tar.xz: No such file or directory To fix this to enable |
Not sure if there are any similar issues to this or how it came about so will leave open in the case someone can better explaini to me.... AFAIK the only things I had modifying my root were Is there someway to make the output clearer here... As in perhaps a check for the |
I am experiencing this on kubuntu 22.04.1 LTS with nvm. Seems to be issue with how it is using curl - the tarball is not being downloaded. I used a workaround by modifying line 120 to force using wget. I changed the line from: nvm debug output (Without workaround)
|
Yeah @gargolito did you try using I was able to fix this for myself by editing my settings in my I think likely some issue with setting the
|
@gargolito did yours attempt the download at all then try to compile from source? did you get a 404 error too? |
@gargolito |
That's my default curl alias. I'll try removing it
…On Mon, Oct 24, 2022, 13:51 Jordan Harband ***@***.***> wrote:
@gargolito <https://github.com/gargolito> (curl -s -k -A $UA) in your nvm
debug output is suspicious; mine doesn't have that.
—
Reply to this email directly, view it on GitHub
<#2923 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMREEMTGGAL6ACJIHCANVTWE3EC3ANCNFSM6AAAAAARLUU33Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@gargolito if removing it fixes it, then a) you can keep those settings in |
This fixed it. Thanks.
…On Mon, Oct 24, 2022, 15:56 Jordan Harband ***@***.***> wrote:
@gargolito <https://github.com/gargolito> if removing it fixes it, then
a) you can keep those settings in $HOME/.curlrc without needing the
alias, and b) that means there's probably a place that nvm can harden
itself against aliases clobbering builtins :-)
—
Reply to this email directly, view it on GitHub
<#2923 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMREEODN3FURM2CMIXT2QDWE3SV5ANCNFSM6AAAAAARLUU33Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ljharb any idea on my issue at all as to a possible cause? Any ideas on fixes. I could look into submitting a PR just wandering where to start with this... Where is the URL path specifically set based on |
@jordyjwilliams looking at your |
@ljharb looking at my |
@jordyjwilliams Even if you can't find the source, you can probably |
How about this: ryenus@nvm_curl We can add |
@ryenus that as a PR would be great! altho i don't think we need |
Happy to review or try to make the pr whatever easiest
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Jordan Harband ***@***.***>
Sent: Wednesday, November 2, 2022 3:04:41 PM
To: nvm-sh/nvm ***@***.***>
Cc: Jordy Williams ***@***.***>; Mention ***@***.***>
Subject: Re: [nvm-sh/nvm] `nvm install node` will not find/install the binaries on `linux` running in `ChromeOS` containier. (Issue #2923)
@ryenus<https://github.com/ryenus> that as a PR would be great! altho i don't think we need nvm_curl, we can just inline the command.
—
Reply to this email directly, view it on GitHub<#2923 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKN3GD47TVZNJ37O6AT4P23WGHR5TANCNFSM6AAAAAARLUU33Q>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Operating system and version:
ChromeOS --> Running container of Linux.
nvm debug
output:nvm ls
output:How did you install
nvm
?Install script in
readme
What steps did you perform?
nvm
as per instructions in READMEnvm
working as expectednvm install node
andnvm install --lts
What happened?
What did you expect to happen?
Is there anything in any of your profile files that modifies the
PATH
?miniconda
Gems
If you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/
print out?Any help would be much appreciated. Not sure if it's anything with my python envs (conda) setup here,.
Thanks!
The text was updated successfully, but these errors were encountered: