After installation NodeJS, my system can't run node command











up vote
0
down vote

favorite












help me please install NodeJs on my Ubuntu. I do



Using Ubuntu



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


and after installation, I do:



node -v


and get message like



"Programm node isn't installed yet, you can install it by doing `sudo apt install nodejs-legacy`"


I already installed and removed nodejs-legacy, but still, when I try to run nodejs -v, I get 4.2.6



And sorry for not perfect English, please help me.










share|improve this question
























  • The installation probably didn't finish due to an error. Have a look at the output in the terminal and see if you can find some clues.
    – Sergey
    Nov 20 at 20:16















up vote
0
down vote

favorite












help me please install NodeJs on my Ubuntu. I do



Using Ubuntu



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


and after installation, I do:



node -v


and get message like



"Programm node isn't installed yet, you can install it by doing `sudo apt install nodejs-legacy`"


I already installed and removed nodejs-legacy, but still, when I try to run nodejs -v, I get 4.2.6



And sorry for not perfect English, please help me.










share|improve this question
























  • The installation probably didn't finish due to an error. Have a look at the output in the terminal and see if you can find some clues.
    – Sergey
    Nov 20 at 20:16













up vote
0
down vote

favorite









up vote
0
down vote

favorite











help me please install NodeJs on my Ubuntu. I do



Using Ubuntu



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


and after installation, I do:



node -v


and get message like



"Programm node isn't installed yet, you can install it by doing `sudo apt install nodejs-legacy`"


I already installed and removed nodejs-legacy, but still, when I try to run nodejs -v, I get 4.2.6



And sorry for not perfect English, please help me.










share|improve this question















help me please install NodeJs on my Ubuntu. I do



Using Ubuntu



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


and after installation, I do:



node -v


and get message like



"Programm node isn't installed yet, you can install it by doing `sudo apt install nodejs-legacy`"


I already installed and removed nodejs-legacy, but still, when I try to run nodejs -v, I get 4.2.6



And sorry for not perfect English, please help me.







apt system-installation nodejs mint






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 at 0:27









abu_bua

3,06081023




3,06081023










asked Nov 20 at 20:00









dpischalkda

32




32












  • The installation probably didn't finish due to an error. Have a look at the output in the terminal and see if you can find some clues.
    – Sergey
    Nov 20 at 20:16


















  • The installation probably didn't finish due to an error. Have a look at the output in the terminal and see if you can find some clues.
    – Sergey
    Nov 20 at 20:16
















The installation probably didn't finish due to an error. Have a look at the output in the terminal and see if you can find some clues.
– Sergey
Nov 20 at 20:16




The installation probably didn't finish due to an error. Have a look at the output in the terminal and see if you can find some clues.
– Sergey
Nov 20 at 20:16










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










The installation for Ubuntu and derivatives is very simple. Before installing be sure to uninstall the old nodeJS



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


Check if in some of the commands you do not get an error.



To remove the nodeJS please see the following post : How to remove nodejs from Ubuntu 16.04?






share|improve this answer





















  • Thank you, I used recommendations from post which you pointed. I read logs of curl command and find next thing. Not found - download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_18.3/… 404 Not Found [IP: 195.135.221.134 80] probably it's important for succesfully install nodejs
    – dpischalkda
    Nov 20 at 20:42













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094624%2fafter-installation-nodejs-my-system-cant-run-node-command%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










The installation for Ubuntu and derivatives is very simple. Before installing be sure to uninstall the old nodeJS



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


Check if in some of the commands you do not get an error.



To remove the nodeJS please see the following post : How to remove nodejs from Ubuntu 16.04?






share|improve this answer





















  • Thank you, I used recommendations from post which you pointed. I read logs of curl command and find next thing. Not found - download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_18.3/… 404 Not Found [IP: 195.135.221.134 80] probably it's important for succesfully install nodejs
    – dpischalkda
    Nov 20 at 20:42

















up vote
0
down vote



accepted










The installation for Ubuntu and derivatives is very simple. Before installing be sure to uninstall the old nodeJS



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


Check if in some of the commands you do not get an error.



To remove the nodeJS please see the following post : How to remove nodejs from Ubuntu 16.04?






share|improve this answer





















  • Thank you, I used recommendations from post which you pointed. I read logs of curl command and find next thing. Not found - download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_18.3/… 404 Not Found [IP: 195.135.221.134 80] probably it's important for succesfully install nodejs
    – dpischalkda
    Nov 20 at 20:42















up vote
0
down vote



accepted







up vote
0
down vote



accepted






The installation for Ubuntu and derivatives is very simple. Before installing be sure to uninstall the old nodeJS



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


Check if in some of the commands you do not get an error.



To remove the nodeJS please see the following post : How to remove nodejs from Ubuntu 16.04?






share|improve this answer












The installation for Ubuntu and derivatives is very simple. Before installing be sure to uninstall the old nodeJS



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


Check if in some of the commands you do not get an error.



To remove the nodeJS please see the following post : How to remove nodejs from Ubuntu 16.04?







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 20 at 20:32









Carlos Dagorret

32815




32815












  • Thank you, I used recommendations from post which you pointed. I read logs of curl command and find next thing. Not found - download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_18.3/… 404 Not Found [IP: 195.135.221.134 80] probably it's important for succesfully install nodejs
    – dpischalkda
    Nov 20 at 20:42




















  • Thank you, I used recommendations from post which you pointed. I read logs of curl command and find next thing. Not found - download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_18.3/… 404 Not Found [IP: 195.135.221.134 80] probably it's important for succesfully install nodejs
    – dpischalkda
    Nov 20 at 20:42


















Thank you, I used recommendations from post which you pointed. I read logs of curl command and find next thing. Not found - download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_18.3/… 404 Not Found [IP: 195.135.221.134 80] probably it's important for succesfully install nodejs
– dpischalkda
Nov 20 at 20:42






Thank you, I used recommendations from post which you pointed. I read logs of curl command and find next thing. Not found - download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_18.3/… 404 Not Found [IP: 195.135.221.134 80] probably it's important for succesfully install nodejs
– dpischalkda
Nov 20 at 20:42




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094624%2fafter-installation-nodejs-my-system-cant-run-node-command%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?