installing node.js not workingNPM wont work because of my wrong node versionNode.js NVM causes Xubuntu login loop with ~/.profile lineNode.js application is not working ARM UbuntuHow can I be careful installing node.js via apt?npm unresponsive after nodejs install on fresh Ubuntu 12.04.5sudo apt-get install npm errorError message updating node.jsInstalling Node on Ubuntu Mate 32bit systemSudo Not Working for Node and NPM Installnpm is not updating my node.js correctly

Three legged NOT gate? What is this symbol?

Can a fight scene, component-wise, be too complex and complicated?

Y2K... in 2019?

What is the difference between 型 and 形?

Write an interpreter for *

Are differences between uniformly distributed numbers uniformly distributed?

Why does Intel's Haswell chip allow FP multiplication to be twice as fast as addition?

n-types of the theory of natural numbers?

What is the maximum number of PC-controlled undead?

Not going forward with internship interview process

Generate Brainfuck for the numbers 1–255

Question about "Approaching Zero and Limits" in the Intuitive Proof of the Derivative of Sine

changing number of arguments to a function in secondary evaluation

Should you play baroque pieces a semitone lower?

function evaluation - I don't get it

Who are these characters/superheroes in the posters from Chris's room in Family Guy?

Does a code snippet compile? Or does it get compiled?

How does "Te vas a cansar" mean "You're going to get tired"?

Does this Foo machine halt?

Is there a way to unplug the Raspberry pi safely without shutting down

First amendment and employment: Can a police department terminate an officer for speech?

How does 'AND' distribute over 'OR' (Set Theory)?

What gave Harry Potter the idea of writing in Tom Riddle's diary?

Trying to write a shell script that keeps testing a server remotely, but it keeps falling in else statement when I logout



installing node.js not working


NPM wont work because of my wrong node versionNode.js NVM causes Xubuntu login loop with ~/.profile lineNode.js application is not working ARM UbuntuHow can I be careful installing node.js via apt?npm unresponsive after nodejs install on fresh Ubuntu 12.04.5sudo apt-get install npm errorError message updating node.jsInstalling Node on Ubuntu Mate 32bit systemSudo Not Working for Node and NPM Installnpm is not updating my node.js correctly






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'm trying to install node.js on ubuntu 14.10



I do not want to use the ubuntu package but the latest stable version of node - v0.10.36 so I have installed pvm and have installed node v0.10.36



so far so good, when i run



node -v


it correctly gives me the right version.



However if I now close the console I did the install from and open a new console, and run node -v again, I get the infamous conflict message -



The program 'node' can be found in the following packages:
* node
* nodejs-legacy
Try: sudo apt-get install <selected package>


If I run nvm install 0.10.36, it tells me it is already installed, but node -v works again



I cannot actually see node in usrbin



How to I find out where it got installed to and what do I have to do to make node work between console closes?










share|improve this question






























    1















    I'm trying to install node.js on ubuntu 14.10



    I do not want to use the ubuntu package but the latest stable version of node - v0.10.36 so I have installed pvm and have installed node v0.10.36



    so far so good, when i run



    node -v


    it correctly gives me the right version.



    However if I now close the console I did the install from and open a new console, and run node -v again, I get the infamous conflict message -



    The program 'node' can be found in the following packages:
    * node
    * nodejs-legacy
    Try: sudo apt-get install <selected package>


    If I run nvm install 0.10.36, it tells me it is already installed, but node -v works again



    I cannot actually see node in usrbin



    How to I find out where it got installed to and what do I have to do to make node work between console closes?










    share|improve this question


























      1












      1








      1








      I'm trying to install node.js on ubuntu 14.10



      I do not want to use the ubuntu package but the latest stable version of node - v0.10.36 so I have installed pvm and have installed node v0.10.36



      so far so good, when i run



      node -v


      it correctly gives me the right version.



      However if I now close the console I did the install from and open a new console, and run node -v again, I get the infamous conflict message -



      The program 'node' can be found in the following packages:
      * node
      * nodejs-legacy
      Try: sudo apt-get install <selected package>


      If I run nvm install 0.10.36, it tells me it is already installed, but node -v works again



      I cannot actually see node in usrbin



      How to I find out where it got installed to and what do I have to do to make node work between console closes?










      share|improve this question














      I'm trying to install node.js on ubuntu 14.10



      I do not want to use the ubuntu package but the latest stable version of node - v0.10.36 so I have installed pvm and have installed node v0.10.36



      so far so good, when i run



      node -v


      it correctly gives me the right version.



      However if I now close the console I did the install from and open a new console, and run node -v again, I get the infamous conflict message -



      The program 'node' can be found in the following packages:
      * node
      * nodejs-legacy
      Try: sudo apt-get install <selected package>


      If I run nvm install 0.10.36, it tells me it is already installed, but node -v works again



      I cannot actually see node in usrbin



      How to I find out where it got installed to and what do I have to do to make node work between console closes?







      software-installation nodejs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 1 '15 at 8:30









      mfcmfc

      1061 silver badge3 bronze badges




      1061 silver badge3 bronze badges























          3 Answers
          3






          active

          oldest

          votes


















          0














          You can do it simply by create symbolic link to nodejs:



          First check if nodejs exist:
          ls -l /usr/bin/nodejs



          The create symbolic link:
          sudo ln -s /usr/bin/nodejs /usr/bin/node






          share|improve this answer

























          • I don't have a nodejs, node was installed by nvm to .nvm/v0.10.26/bin in my home directory. Do I still set a symbolic link or add the directory to my PATH?

            – mfc
            Feb 2 '15 at 13:08



















          0














          Getting the same error on Ubuntu 14.04 when closing the console.



          As seen here, once NVM is installed, you have to create a default to start with the console :




          To set a default Node version to be used in any new shell, use the
          alias 'default':



          nvm alias default node







          share|improve this answer
































            0














            There seems to be a problem with node package in Ubuntu... I saved myself a headache by downloading node zip from the official site and extracted the files to their respective postions.... I.e the files in the extracted bin folder to /usr/bin and the rest respectively






            share|improve this answer



























              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',
              autoActivateHeartbeat: false,
              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%2f580394%2finstalling-node-js-not-working%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              You can do it simply by create symbolic link to nodejs:



              First check if nodejs exist:
              ls -l /usr/bin/nodejs



              The create symbolic link:
              sudo ln -s /usr/bin/nodejs /usr/bin/node






              share|improve this answer

























              • I don't have a nodejs, node was installed by nvm to .nvm/v0.10.26/bin in my home directory. Do I still set a symbolic link or add the directory to my PATH?

                – mfc
                Feb 2 '15 at 13:08
















              0














              You can do it simply by create symbolic link to nodejs:



              First check if nodejs exist:
              ls -l /usr/bin/nodejs



              The create symbolic link:
              sudo ln -s /usr/bin/nodejs /usr/bin/node






              share|improve this answer

























              • I don't have a nodejs, node was installed by nvm to .nvm/v0.10.26/bin in my home directory. Do I still set a symbolic link or add the directory to my PATH?

                – mfc
                Feb 2 '15 at 13:08














              0












              0








              0







              You can do it simply by create symbolic link to nodejs:



              First check if nodejs exist:
              ls -l /usr/bin/nodejs



              The create symbolic link:
              sudo ln -s /usr/bin/nodejs /usr/bin/node






              share|improve this answer













              You can do it simply by create symbolic link to nodejs:



              First check if nodejs exist:
              ls -l /usr/bin/nodejs



              The create symbolic link:
              sudo ln -s /usr/bin/nodejs /usr/bin/node







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Feb 1 '15 at 9:18









              Martin BučkoMartin Bučko

              414 bronze badges




              414 bronze badges















              • I don't have a nodejs, node was installed by nvm to .nvm/v0.10.26/bin in my home directory. Do I still set a symbolic link or add the directory to my PATH?

                – mfc
                Feb 2 '15 at 13:08


















              • I don't have a nodejs, node was installed by nvm to .nvm/v0.10.26/bin in my home directory. Do I still set a symbolic link or add the directory to my PATH?

                – mfc
                Feb 2 '15 at 13:08

















              I don't have a nodejs, node was installed by nvm to .nvm/v0.10.26/bin in my home directory. Do I still set a symbolic link or add the directory to my PATH?

              – mfc
              Feb 2 '15 at 13:08






              I don't have a nodejs, node was installed by nvm to .nvm/v0.10.26/bin in my home directory. Do I still set a symbolic link or add the directory to my PATH?

              – mfc
              Feb 2 '15 at 13:08














              0














              Getting the same error on Ubuntu 14.04 when closing the console.



              As seen here, once NVM is installed, you have to create a default to start with the console :




              To set a default Node version to be used in any new shell, use the
              alias 'default':



              nvm alias default node







              share|improve this answer





























                0














                Getting the same error on Ubuntu 14.04 when closing the console.



                As seen here, once NVM is installed, you have to create a default to start with the console :




                To set a default Node version to be used in any new shell, use the
                alias 'default':



                nvm alias default node







                share|improve this answer



























                  0












                  0








                  0







                  Getting the same error on Ubuntu 14.04 when closing the console.



                  As seen here, once NVM is installed, you have to create a default to start with the console :




                  To set a default Node version to be used in any new shell, use the
                  alias 'default':



                  nvm alias default node







                  share|improve this answer













                  Getting the same error on Ubuntu 14.04 when closing the console.



                  As seen here, once NVM is installed, you have to create a default to start with the console :




                  To set a default Node version to be used in any new shell, use the
                  alias 'default':



                  nvm alias default node








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 29 '15 at 9:43









                  David JacquelDavid Jacquel

                  1012 bronze badges




                  1012 bronze badges
























                      0














                      There seems to be a problem with node package in Ubuntu... I saved myself a headache by downloading node zip from the official site and extracted the files to their respective postions.... I.e the files in the extracted bin folder to /usr/bin and the rest respectively






                      share|improve this answer





























                        0














                        There seems to be a problem with node package in Ubuntu... I saved myself a headache by downloading node zip from the official site and extracted the files to their respective postions.... I.e the files in the extracted bin folder to /usr/bin and the rest respectively






                        share|improve this answer



























                          0












                          0








                          0







                          There seems to be a problem with node package in Ubuntu... I saved myself a headache by downloading node zip from the official site and extracted the files to their respective postions.... I.e the files in the extracted bin folder to /usr/bin and the rest respectively






                          share|improve this answer













                          There seems to be a problem with node package in Ubuntu... I saved myself a headache by downloading node zip from the official site and extracted the files to their respective postions.... I.e the files in the extracted bin folder to /usr/bin and the rest respectively







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Oct 4 '18 at 22:15









                          StanStan

                          111 bronze badge




                          111 bronze badge






























                              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.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f580394%2finstalling-node-js-not-working%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

                              Tamil (spriik) Luke uk diar | Nawigatjuun

                              Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                              Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?