Skip to content

Updating Node and NPM

General
5 2 979 1
  • 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
  • Nodebb vs Wordpress vs Other

    General wordpress nodebb woocomerce business
    4
    2 Votes
    4 Posts
    112 Views
    PrestaShop + modules IA https://www.prestashop.com Magento https://developer.adobe.com/open/magento
  • 3 Votes
    7 Posts
    1k Views
    @phenomlab I will have to test this out in my virtual environment. I have an Arch KDE Plasma install in virtualbox that I am testing a bunch of things out before I actually wipe the hard drive and install linux. I am currently in the process of copying my Arch test web server over to virtualbox on linux to make sure that it works. This is the virtual server that I test updates on before updating the production server. I can’t remember the error I was getting but I think it had to do with the network device. That was on the virtualbox side. So the cloud storage will be the next thing that I test.
  • Email Provider

    General email gmail proton
    9
    5 Votes
    9 Posts
    2k Views
    @phenomlab lol it is a great excuse and sometimes a combination of both haha
  • OKTA offering personal password manager

    General okta password manager
    31
    18 Votes
    31 Posts
    5k Views
    @Madchatthew yes, works well for us.
  • Peoples thoughts on Nextjs?

    Discussion nodejs
    2
    2 Votes
    2 Posts
    650 Views
    @Panda I have the same opinion here. NextJS is a framework for react, and like angular, I was never one to simply dive off into the deep without having any real need to do so. I’m conversant with nodeJS, vanilla js, and several other languages (including PHP which I have years of experience in and developed / still maintain an application at work that was custom written by me to fulfill an audit requirement), and in all honesty, I don’t really want to spend my life learning new frameworks unless I have a need to do so. I’ve been on the nodeJS train for some time now, and given my adoption of NodeBB, this makes perfect sense. Bleeding edge is fun if you want to experiment and learn, but with so many frameworks popping up all over the place, how many do we actually need? I guess most of this really depends on unique use cases, but I’ve yet to come across an issue that meant I had to rewrite an application in a different language to resolve an issue. It’s almost like using a bulldozer to find a china cup.
  • node vs nodejs confusion?

    Solved Configure node nodejs
    2
    1 Votes
    2 Posts
    849 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 digitalocean nodejs react
    25
    4 Votes
    25 Posts
    5k 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
  • Best antivirus software? (Looking to switch)

    General
    35
    19 Votes
    35 Posts
    6k Views
    @phenomlab or Challenge Accepted haha