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

Not supported on (UBUNTU 22.04 JAMMY JELLYFISH) #1379

Closed
Iamkrishnaa opened this issue Apr 22, 2022 · 32 comments
Closed

Not supported on (UBUNTU 22.04 JAMMY JELLYFISH) #1379

Iamkrishnaa opened this issue Apr 22, 2022 · 32 comments

Comments

@Iamkrishnaa
Copy link

During installing nodejs from source on ubuntu 22.04 it is throwing error saying
Your distribution, identified as "jammy", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

@AleexMzz
Copy link

I think the problem is that the page https://deb.nodesource.com/node_16.x/dists/jammy/Release is in 404 error

@joshxyzhimself
Copy link

#1359

@seojustin
Copy link

I'm running into this issue too, please take a look!!

## Your distribution, identified as "jammy", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

@mertgundoganx
Copy link

still...

@leonardobbh
Copy link

Your distribution, identified as "jammy", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

@dhengGhuring
Copy link

Yes i have same problem, node V12+ not supported on Ubuntu 22.04 Jammy, please fix this

@tunasayin
Copy link

Same problem here...

@AleexMzz
Copy link

Use debian

@julesnicolsontabuno
Copy link

same problem here, too.

@oscar6echo
Copy link

idem

@adi6499
Copy link

adi6499 commented Apr 23, 2022

https://tecadmin.net/how-to-install-node-js-on-ubuntu-22-04/
try this

@oscar6echo
Copy link

@adi6499 in the link you give method 2 does not work.

error msg:

## Confirming "jammy" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/jammy/Release'

## Your distribution, identified as "jammy", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

@jie10
Copy link

jie10 commented Apr 23, 2022

Good day guys i found a solution!,
(Ubuntu)

1st: install nvm.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

2nd: copy and paste this line of code to use nvm.
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"

3rd: check available version of node
nvm list-remote

4th: install node version you like.
nvm install 18.0.0

5th: close the terminal and open new terminal then type "node -v" and "npm -v"
and it's working fine

@EntenKoeniq-OLD
Copy link

You can install them yourself for now (tested on Ubuntu 22.04):

sudo curl -LO https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz
sudo tar -xvf node-v18.0.0-linux-x64.tar.xz
sudo cp -r node-v18.0.0-linux-x64/{bin,include,lib,share} /usr/
node --version => v18.0.0

@oscar6echo
Copy link

tested @EntenKoeniq script.
Works for me too.
Thx

@dhengGhuring
Copy link

Good day guys i found a solution!, (Ubuntu)

1st: install nvm. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

2nd: copy and paste this line of code to use nvm. export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"

3rd: check available version of node nvm list-remote

4th: install node version you like. nvm install 18.0.0

5th: close the terminal and open new terminal then type "node -v" and "npm -v" and it's working fine

I get error message can't install node js because permission denied
image

@dhengGhuring
Copy link

You can install them yourself for now (tested on Ubuntu 22.04):

sudo curl -LO https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz sudo tar -xvf node-v18.0.0-linux-x64.tar.xz sudo cp -r node-v18.0.0-linux-x64/{bin,include,lib,share} /usr/ node --version => v18.0.0

Thankyou this work on me

@dhengGhuring
Copy link

Good day guys i found a solution!, (Ubuntu)
1st: install nvm. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
2nd: copy and paste this line of code to use nvm. export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"
3rd: check available version of node nvm list-remote
4th: install node version you like. nvm install 18.0.0
5th: close the terminal and open new terminal then type "node -v" and "npm -v" and it's working fine

I get error message can't install node js because permission denied image

To fix this i try unistall curl snap and install curl apt, and this work!

@InklingGirl
Copy link

Bump, please fix this, would rather not use workarounds.

@Rubanrubi
Copy link

You can install them yourself for now (tested on Ubuntu 22.04):

sudo curl -LO https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz sudo tar -xvf node-v18.0.0-linux-x64.tar.xz sudo cp -r node-v18.0.0-linux-x64/{bin,include,lib,share} /usr/ node --version => v18.0.0

this is working fine kindly use this

@Iamkrishnaa
Copy link
Author

You can install them yourself for now (tested on Ubuntu 22.04):

sudo curl -LO https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz sudo tar -xvf node-v18.0.0-linux-x64.tar.xz sudo cp -r node-v18.0.0-linux-x64/{bin,include,lib,share} /usr/ node --version => v18.0.0

This works if you want to perform it manually. If you want previous steps/processes wait until the new version is released.

@fourquadrantlogger
Copy link

fourquadrantlogger commented Apr 25, 2022

here is my solution
run ok in dockerfile

ENV NODE_VERSION=16.14.2

RUN curl -LO https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz &&\
    tar -xvf node-v${NODE_VERSION}-linux-x64.tar.xz

ENV PATH=${PATH}:/node-v${NODE_VERSION}-linux-x64/bin

RUN npm i -g corepack && corepack enable

@flimamcz
Copy link

Here it worked perfectly!

@muchemiphilip
Copy link

@EntenKoeniq Thanks your solution works perfectly.

@joevaughan
Copy link

You can install them yourself for now (tested on Ubuntu 22.04):

sudo curl -LO https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz sudo tar -xvf node-v18.0.0-linux-x64.tar.xz sudo cp -r node-v18.0.0-linux-x64/{bin,include,lib,share} /usr/ node --version => v18.0.0

Thanks for this. Works perfectly.

Note: You don't need 'sudo' for the curl or tar commands, only the cp command.

@danielbarbosadelima1998

sudo rm -rf /etc/apt/sources.list.d/nodesource.list
sudo rm -rf /usr/share/keyrings/nodesource.gpg
curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version

@InklingGirl
Copy link

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - seems to work now, finally.

@mahernoz-d
Copy link

mahernoz-d commented Aug 5, 2022

https://deb.nodesource.com/setup_6.x and https://deb.nodesource.com/setup_8.x (6 and 8) links are not working properly. please check or let me know if there is any other method to do it.

Expected outcome is it should install the version which is mentioned , but it doesn't.

@ThyagoLucas
Copy link

ThyagoLucas commented Sep 18, 2022

You can install them yourself for now (tested on Ubuntu 22.04):

sudo curl -LO https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz sudo tar -xvf node-v18.0.0-linux-x64.tar.xz sudo cp -r node-v18.0.0-linux-x64/{bin,include,lib,share} /usr/ node --version => v18.0.0

Works for me too! Tnks <3

@InklingGirl
Copy link

No need to do it that way anymore.

@kgb-financial-com
Copy link

Workarounds may still be needed for old, unmaintained versions, like version 12. For current versions 16 and 18, the issue is fixed, as reported by @InklingGirl :

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - seems to work now, finally.

@zakumoon
Copy link

for me in linux mint
$ sudo autoremove
$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
$ sudo apt-get install -y nodejs

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