Skip to content

Updating Node and NPM

General
  • Hi,

    I have actually given up on the forum for the time being due to lack of interest. I am thinking of just doing a test forum just for me only and to practice etc but that will be sometime in the next months.

    In the meantime I have a question that I feel here is the best place to ask 🙂 Love the forum the look and the great advice.

    I am basically running just 1 app on my home server for gaming that uses node.js and npm. Both my versions of those are older versions but I know sometimes in the past after an update it ‘broke’ the app making me now reluctant to update again. Why change a winning side right? It works.

    What is the correct way to update them both. Clear cache needed etc? I will do a back up before (if) I update the versions.

    Hope all are ok and safe. Thanks for any replies.

    🙂

  • Hi,

    I have actually given up on the forum for the time being due to lack of interest. I am thinking of just doing a test forum just for me only and to practice etc but that will be sometime in the next months.

    In the meantime I have a question that I feel here is the best place to ask 🙂 Love the forum the look and the great advice.

    I am basically running just 1 app on my home server for gaming that uses node.js and npm. Both my versions of those are older versions but I know sometimes in the past after an update it ‘broke’ the app making me now reluctant to update again. Why change a winning side right? It works.

    What is the correct way to update them both. Clear cache needed etc? I will do a back up before (if) I update the versions.

    Hope all are ok and safe. Thanks for any replies.

    🙂

    @Sampo2910 before we start, do you know if the app itself you are running is compatible with the latest release of NodeJS ? I don’t expect npm to be an issue as it’s the Node Package Manager.

  • @Sampo2910 before we start, do you know if the app itself you are running is compatible with the latest release of NodeJS ? I don’t expect npm to be an issue as it’s the Node Package Manager.

    @phenomlab Hi thx for the reply.

    I am using this https://github.com/byNeHo/CoD4x-WebAdmin

    NeHo does not update it so much to be honest. I spoke to him and he does it from ‘time to time’

    I installed nvm so I can see the latest version of node etc and I guess i can just roll back if it does not work?

    Is there a way I can see what the app version of Node is? Then i could install ‘up to that’ and keep an eye out for any changes?

    As i said I am also all for not breaking a winning side haha and leave it as it is.

  • @phenomlab Hi thx for the reply.

    I am using this https://github.com/byNeHo/CoD4x-WebAdmin

    NeHo does not update it so much to be honest. I spoke to him and he does it from ‘time to time’

    I installed nvm so I can see the latest version of node etc and I guess i can just roll back if it does not work?

    Is there a way I can see what the app version of Node is? Then i could install ‘up to that’ and keep an eye out for any changes?

    As i said I am also all for not breaking a winning side haha and leave it as it is.

    @Sampo2910 I think the best approach is to perhaps install this in a virtual machine where you can setup everything new, then attempt to install the app itself to ensure it works as desired before you attempt the actual upgrade on your server.

    The virtual machine itself can be installed on your own PC and will act just like an independent machine but of course is part of your own machine.

    Are you familiar with virtual machine concerts? Happy to help with this if needed.

  • @phenomlab Hi thx for the reply.

    I am using this https://github.com/byNeHo/CoD4x-WebAdmin

    NeHo does not update it so much to be honest. I spoke to him and he does it from ‘time to time’

    I installed nvm so I can see the latest version of node etc and I guess i can just roll back if it does not work?

    Is there a way I can see what the app version of Node is? Then i could install ‘up to that’ and keep an eye out for any changes?

    As i said I am also all for not breaking a winning side haha and leave it as it is.

    @Sampo2910 said in Updating Node and NPM:

    Is there a way I can see what the app version of Node is? Then i could install ‘up to that’ and keep an eye out for any changes?

    Have a look in the source code for the app you are using, or better still, look at the GitHub page which should give you an idea of the version number which is the latest.

    In the source code you have running, there is typically a README file which should state the version you are running.


Related Topics
  • Windows 10 End of Life

    General
    10
    2 Votes
    10 Posts
    168 Views
    @phenomlab this looks very nice as well. It is nice that they keep the KDE Neon a rolling release so you will get those updated apps even though Ubuntu isn’t a rolling release. Is it a rolling distro? KDE neon is rolling for KDE software. The Ubuntu base OS is not, but certain packages will be updated as needed to support KDE software requiring newer library versions than what is provided by Ubuntu. Apps from the main repositories are not rolling either, and therefore can be up to two years old. Users are encouraged not to use them, and to instead get apps from Snap or Flatpak using KDE’s Discover app store. In neon, Discover is set up to only show apps from these sources, filtering out apps from the repositories.
  • OKTA offering personal password manager

    General
    11
    9 Votes
    11 Posts
    222 Views
    @phenomlab Alright, I will have to take a closer look at that. Thank you!
  • Mongo Completely Broken.

    General
    20
    3 Votes
    20 Posts
    432 Views
    @Sampo2910 said in Mongo Completely Broken.: I can see you cringing Yes, that does make me slightly uncomfortable but OK.
  • Text Messaging App

    General
    37
    24 Votes
    37 Posts
    871 Views
    @phenomlab sure, it’s https://proton.me/family
  • What plugins are being used here on Sudonix?

    Solved General
    6
    5 Votes
    6 Posts
    525 Views
    @Roki-Antic Welcome! This site isn’t running Persona, but Harmony - a very heavily customised version at that. Do you have a URL where your site is currently located that is publicly accessible? Feel free to PM this info if you do not want to disclose here. Happy to help with any customisation needs.
  • Come back PhP, all is forgiven!

    Hosting
    3
    4 Votes
    3 Posts
    280 Views
    @phenomlab said in Come back PhP, all is forgiven!: I used IONOS for a while, and realised that Hetzner provide a much better deal for those experienced with Linux. I know @cagatay, @DownPW and myself all use Hetzner, and I think @Madchatthew (whom I haven’t seen for a while ) was also considering taking their services. There’s an affiliate link below if you’d like to go down that route Yep hetzner is very very cool and I haven’t seen before a panel magentment as complete as him : backup, snapshot, add cpu core, ram is easy. @phenomlab said in Come back PhP, all is forgiven!: Obtaining a VPS comes with the double-edged sword of being completely on your own with no support, although by using Virtualmin, you’ll find life so much simpler (something I know @DownPW can attest to, as I managed to convert him ) Yep Virtualmin is very cool And it makes life much easier for server management, domain, nginx and so on even if it is always better to know how to do all this in CLI. I would say that the 2 are really complementary
  • node vs nodejs confusion?

    Solved Configure
    2
    1 Votes
    2 Posts
    385 Views
    @eeeee have a look at the below https://docs.nodebb.org/installing/os/ubuntu/ curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt-get install -y nodejs You’ll notice that we are in fact “installing” NodeJS but never actually have a need to reference it. Here’s the nodejs --version command on my dev system [image: 1681584648061-6eb1482e-0c9b-454d-aa84-199bcc845702-image.png] More detail here https://askubuntu.com/questions/1030622/why-do-i-see-different-versions-of-node-and-nodejs
  • Deploy React + NodeJs App

    Solved Configure
    25
    4 Votes
    25 Posts
    2k Views
    @justoverclock Any update ? Thanks EDIT - marking as solved based on the below thread https://sudonix.com/topic/339/digitalocean-step-by-step-guide-to-nginx-configuration