installing node.js not working Announcing the arrival of Valued Associate #679: Cesar Manara ...

Estimate capacitor parameters

What's the point in a preamp?

Windows 10: How to Lock (not sleep) laptop on lid close?

How can you insert a "times/divide" symbol similar to the "plus/minus" (±) one?

Can smartphones with the same camera sensor have different image quality?

New Order #5: where Fibonacci and Beatty meet at Wythoff

Jazz greats knew nothing of modes. Why are they used to improvise on standards?

How should I respond to a player wanting to catch a sword between their hands?

Can a monk deflect thrown melee weapons?

What is the order of Mitzvot in Rambam's Sefer Hamitzvot?

How to say that you spent the night with someone, you were only sleeping and nothing else?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Unable to start mainnet node docker container

Need a suitable toxic chemical for a murder plot in my novel

How to rotate it perfectly?

How many things? AとBがふたつ

Is drag coefficient lowest at zero angle of attack?

How to set letter above or below the symbol?

Writing Thesis: Copying from published papers

Determine whether f is a function, an injection, a surjection

How do I keep my slimes from escaping their pens?

3 doors, three guards, one stone

Passing functions in C++

Can I throw a longsword at someone?



installing node.js not working



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)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














bumped to the homepage by Community 8 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    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














    bumped to the homepage by Community 8 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      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

      10613




      10613





      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          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




              414













              • 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




                  1012























                      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




                          111






























                              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

                              Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                              Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                              Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...